summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/redecl3.C
blob: 96940d545da55d7752bb9bb66271af07eb09e53a (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Bug: g++ thought this was a redeclaration of a local variable.

int i;
int main ()
{
  extern int i;
}