diff options
Diffstat (limited to 'tests/tests2/78_vla_label.c')
| -rw-r--r-- | tests/tests2/78_vla_label.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tests2/78_vla_label.c b/tests/tests2/78_vla_label.c index 93a8b08..39654c6 100644 --- a/tests/tests2/78_vla_label.c +++ b/tests/tests2/78_vla_label.c @@ -17,9 +17,13 @@ void f2(void) { goto start; { - int a[1 ? 1 : 1]; /* not a variable-length array */ + int a[1 && 1]; /* not a variable-length array */ + int b[1 || 1]; /* not a variable-length array */ + int c[1 ? 1 : 1]; /* not a variable-length array */ start: a[0] = 0; + b[0] = 0; + c[0] = 0; } } |
