2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / scope1.C
blob0b349f2b20f5d7b0912e067ee482a4074ae7e909
1 // { dg-do run  }
2 // Testcase for proper scoping of local externs.
4 int x = 1;
6 int main()
7 {   
8   int x = 2;
9   {
10     extern int x;
11     return (x != 1);
12   }