From e1b7e90e8975f62c2dd4d5add7f31f2771c7f9a7 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 11 Apr 2014 21:05:02 +0800 Subject: passed the base test --- testcases/pass.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testcases/pass.c') 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 */ -- cgit v1.2.3