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

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