summaryrefslogtreecommitdiff
path: root/test/regression/commaprec.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/commaprec.c')
-rw-r--r--test/regression/commaprec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regression/commaprec.c b/test/regression/commaprec.c
new file mode 100644
index 0000000..aa18eda
--- /dev/null
+++ b/test/regression/commaprec.c
@@ -0,0 +1,6 @@
+extern int f(int, int);
+
+int g(int y) {
+ int z = (y++, 0);
+ return f((z = 1, z), y+2);
+}