c-decl.c (grokdeclarator): Reject extern redeclarations of static variables.
authorMark Mitchell <mark@codesourcery.com>
Tue, 15 Apr 2003 01:37:03 +0000 (01:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 15 Apr 2003 01:37:03 +0000 (01:37 +0000)
commitf4e929877c7e155de2f729c3330353762ce1b0ed
tree4c8438b79290bd778e2a8b4953783090eea99c1a
parente62370313892135cb00868a78d506d915dcc27cc
c-decl.c (grokdeclarator): Reject extern redeclarations of static variables.

* c-decl.c (grokdeclarator): Reject extern redeclarations of
static variables.

* gcc.c-torture/execute/scope-2.c: Move to ...
* gcc.dg/noncompile/scope.c: .... here.

From-SVN: r65615
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/scope.c [moved from gcc/testsuite/gcc.c-torture/execute/scope-2.c with 70% similarity]