* gcc.c-torture/compile/20020110.c: New test.
From-SVN: r49919
This commit is contained in:
parent
db444fbe8e
commit
8e8d61f5c1
|
@ -1,3 +1,7 @@
|
|||
2002-02-20 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* gcc.c-torture/compile/20020110.c: New test.
|
||||
|
||||
2002-02-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/20020219-1.c: New test.
|
||||
|
|
|
@ -0,0 +1,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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue