diff options
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases/pass.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testcases/pass.c b/testcases/pass.c index cbd57b6..e489366 100644 --- a/testcases/pass.c +++ b/testcases/pass.c @@ -94,6 +94,13 @@ void array() { int a[(1 + 1 == 2) * 2]; } +void local_decl() { + int y = y; + { + int x = x; + } +} + struct Node n; struct Node {int x, y;} n; /* global forward declaration is ok */ |