diff --git a/tests/syntax/local-variable.i b/tests/syntax/local-variable.i index 6e6d1b453d0de500811cd8693c15c71852a63760..e1f1524ec86bc2124b0f07fe403f665c11af1d35 100644 --- a/tests/syntax/local-variable.i +++ b/tests/syntax/local-variable.i @@ -11,5 +11,11 @@ void f() { } } +void h (int i) { + int x = 1; + int t[100 / sizeof(x)]; + int u[100 / sizeof(i)]; +} + int c; int g() { return 1 || (-1L || g(), c); }