aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-address-subtract.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/initializer-address-subtract.c')
-rw-r--r--test/initializer-address-subtract.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/initializer-address-subtract.c b/test/initializer-address-subtract.c
new file mode 100644
index 0000000..f273d33
--- /dev/null
+++ b/test/initializer-address-subtract.c
@@ -0,0 +1,2 @@
+int a[4];
+int *p = a + 2 - 1;