1 2 3 4 5 6 7 8 9 10 11 12 13
// { dg-do run } // Testcase for proper scoping of local externs. int x = 1; int main() { int x = 2; { extern int x; return (x != 1); } }