summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20020110.c
blob: 90e0ce95d29f307883ebcb24762a7321aeb46a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright 2002 Free Software Foundation */

/* Make sure the nested extern declaration doesn't conflict with the
   non-extern one in the enclosing scope.  */

void foo() {
  static long bar;

  {
    extern int bar;
  }
}