aboutsummaryrefslogtreecommitdiff
path: root/testcases/pass.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/pass.c')
-rw-r--r--testcases/pass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcases/pass.c b/testcases/pass.c
index e762a5b..d70d9d8 100644
--- a/testcases/pass.c
+++ b/testcases/pass.c
@@ -90,6 +90,10 @@ int incomp(struct I a);
void (*bsd_signal(int sig, void (*func)(int a)))(int b);
+void array() {
+ int a[(1 + 1 == 2) * 2];
+}
+
struct Node n;
struct Node {int x, y;} n;
/* global forward declaration is ok */