diff options
author | Teddy <[email protected]> | 2014-04-13 10:37:00 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-04-13 10:37:00 +0800 |
commit | 47ce7f1266ce1a68551c839fdcfb99c45cdc186e (patch) | |
tree | 5582e7bf2d016e7ba06d06c1f5b92a73ffedb634 /testcases/anonymous_struct2.c | |
parent | e367f7db025eabd57d0c150e1072cb2ead724f5c (diff) |
add anonymous struct testcases
Diffstat (limited to 'testcases/anonymous_struct2.c')
-rw-r--r-- | testcases/anonymous_struct2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testcases/anonymous_struct2.c b/testcases/anonymous_struct2.c new file mode 100644 index 0000000..b17e6c0 --- /dev/null +++ b/testcases/anonymous_struct2.c @@ -0,0 +1,7 @@ +int main() { + struct {int x, y;} a; + struct {int x, y;} b, c; + a = b; + b = c; + c = a; +} |