summaryrefslogtreecommitdiff
path: root/tests/cast_index.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-26 16:01:53 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-26 16:01:53 -0700
commitc84bbdc2a296f4b818fa8ec05a6dbe2dd46fc4f1 (patch)
tree587c2597c151b285a18dd851ff910ecf10ecca7a /tests/cast_index.c
parent43a16ad9c3b4dd9466f1fa0ef69eee0562da99f1 (diff)
fix for postfix compound literals
Diffstat (limited to 'tests/cast_index.c')
-rw-r--r--tests/cast_index.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cast_index.c b/tests/cast_index.c
new file mode 100644
index 0000000..036770a
--- /dev/null
+++ b/tests/cast_index.c
@@ -0,0 +1,3 @@
+int xyz() {
+ return (int []){ 20, 21 }[1];
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback