Wrong 'static decl after non-static decl' error
authorMoritz Kroll <Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 01:12:15 +0000 (01:12 +0000)
committerMoritz Kroll <Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 01:12:15 +0000 (01:12 +0000)
[r20977]

parsetest/cp_error040.c [new file with mode: 0644]

diff --git a/parsetest/cp_error040.c b/parsetest/cp_error040.c
new file mode 100644 (file)
index 0000000..37aa285
--- /dev/null
@@ -0,0 +1,7 @@
+extern int a;     // this should reference an "a" defined in another file
+static int a;
+
+int main(void)
+{
+       return 0;
+}