aboutsummaryrefslogtreecommitdiff
path: root/semantics_data/anonymous_struct2.c
diff options
context:
space:
mode:
Diffstat (limited to 'semantics_data/anonymous_struct2.c')
-rw-r--r--semantics_data/anonymous_struct2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/semantics_data/anonymous_struct2.c b/semantics_data/anonymous_struct2.c
new file mode 100644
index 0000000..b17e6c0
--- /dev/null
+++ b/semantics_data/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;
+}