projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forbid declarations after label, case and default statements.
[cparser]
/
parsetest
/
shouldfail
/
init2.c
diff --git
a/parsetest/shouldfail/init2.c
b/parsetest/shouldfail/init2.c
index
9e2b90a
..
dbaaaab
100644
(file)
--- a/
parsetest/shouldfail/init2.c
+++ b/
parsetest/shouldfail/init2.c
@@
-3,3
+3,8
@@
struct S {
};
struct S arr[] = { { 1, 2, { 3, 4 } } };
};
struct S arr[] = { { 1, 2, { 3, 4 } } };
+
+int main(void)
+{
+ return 0;
+}