From 2fe7ae3a6abe211c2e8c8a98818864b1dffa4c4c Mon Sep 17 00:00:00 2001 From: Moritz Kroll Date: Tue, 5 Aug 2008 01:12:15 +0000 Subject: [PATCH] Wrong 'static decl after non-static decl' error [r20977] --- parsetest/cp_error040.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 parsetest/cp_error040.c diff --git a/parsetest/cp_error040.c b/parsetest/cp_error040.c new file mode 100644 index 0000000..37aa285 --- /dev/null +++ b/parsetest/cp_error040.c @@ -0,0 +1,7 @@ +extern int a; // this should reference an "a" defined in another file +static int a; + +int main(void) +{ + return 0; +} -- 2.20.1