aboutsummaryrefslogtreecommitdiff
path: root/tests/compound-assignment.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compound-assignment.c')
-rw-r--r--tests/compound-assignment.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/compound-assignment.c b/tests/compound-assignment.c
new file mode 100644
index 0000000..d7efcc6
--- /dev/null
+++ b/tests/compound-assignment.c
@@ -0,0 +1,4 @@
+void f(void) {
+ int x[1] = {0}, *p = x;
+ *p++ += 1;
+}