diff options
author | Teddy <[email protected]> | 2014-04-16 12:43:35 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-04-16 12:43:35 +0800 |
commit | 442e485824c87bbef95836be1f3a0f6d86386445 (patch) | |
tree | 29bdb9a4f67303bf93209e95df6fee7dbcad431a /testcases | |
parent | 3c520b2038e749e545a98f6b77c52f74eedb0e40 (diff) |
storage calc & sizeof
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases/localfunc.c | 4 | ||||
-rw-r--r-- | testcases/pass.c | 1 |
2 files changed, 1 insertions, 4 deletions
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; } |