aboutsummaryrefslogtreecommitdiff
path: root/semantics_data/local_struct.c
diff options
context:
space:
mode:
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() {
+}