* gcc.c-torture/compile/20020110.c: New test.

From-SVN: r49919
This commit is contained in:
Alexandre Oliva 2002-02-20 23:13:17 +00:00 committed by Alexandre Oliva
parent db444fbe8e
commit 8e8d61f5c1
2 changed files with 16 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}
}