summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping17.C
blob: c51dbef68fcb40add3ca0d55b54b9cd8222d2a9e (plain)
1
2
3
4
5
6
7
8
9
// { dg-do run  }
// Test that the integer hides the struct in block scope.

int main ()
{
  int A;
  struct A { };
  A = 1;
}