aboutsummaryrefslogtreecommitdiff
path: root/semantics_data/local_struct.c
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-07 11:55:51 +0800
committerTeddy <[email protected]>2014-05-07 11:55:51 +0800
commit30ecc9941b8da7a3c0108bc6117a1434e9caab94 (patch)
tree6a24b25086c63a4aa112fc6173b29c31793099d8 /semantics_data/local_struct.c
parentbbb4de0693ba2b010cd2c44805d9a4ee4a2a8904 (diff)
parent52b29440f8f1310e0c074c8eb409e433c56bdd62 (diff)
Merge /home/ymf/work/cibic into optimization
Diffstat (limited to 'semantics_data/local_struct.c')
-rw-r--r--semantics_data/local_struct.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/semantics_data/local_struct.c b/semantics_data/local_struct.c
new file mode 100644
index 0000000..28cb223
--- /dev/null
+++ b/semantics_data/local_struct.c
@@ -0,0 +1,7 @@
+struct A {int x; int y; } b;
+int f(struct A {int a;} p) {
+ struct A a;
+ a.x;
+}
+int main() {
+}