From f881fd3eba1cafa1bea1f098ce8f383b4d6813ea Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 13 Apr 2014 13:05:29 +0800 Subject: add more testcases for typedef --- testcases/typedef4.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 testcases/typedef4.c (limited to 'testcases/typedef4.c') diff --git a/testcases/typedef4.c b/testcases/typedef4.c new file mode 100644 index 0000000..0aeb0f4 --- /dev/null +++ b/testcases/typedef4.c @@ -0,0 +1,10 @@ +typedef struct I I; +int incomp(I a); +struct I { int i, j; }; +int incomp(I a) {} +typedef int b; +int main() { + I i; + b b; + incomp(i); +} -- cgit v1.2.3