From 442e485824c87bbef95836be1f3a0f6d86386445 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 16 Apr 2014 12:43:35 +0800 Subject: storage calc & sizeof --- testcases/localfunc.c | 4 ---- testcases/pass.c | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 testcases/localfunc.c (limited to 'testcases') diff --git a/testcases/localfunc.c b/testcases/localfunc.c deleted file mode 100644 index 8012c6f..0000000 --- a/testcases/localfunc.c +++ /dev/null @@ -1,4 +0,0 @@ -int f(int a); -int main() { - int f(int a, int b); -} diff --git a/testcases/pass.c b/testcases/pass.c index 5d5b3dc..a7d4481 100644 --- a/testcases/pass.c +++ b/testcases/pass.c @@ -141,6 +141,7 @@ int aa(struct AA {int a;} p) { } int main() { + int self = sizeof self; n.x = 1; n.y = 2; } -- cgit v1.2.3-70-g09d2