summaryrefslogtreecommitdiff
path: root/tests/ptr_arith.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ptr_arith.c')
-rw-r--r--tests/ptr_arith.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ptr_arith.c b/tests/ptr_arith.c
new file mode 100644
index 0000000..1f0d0aa
--- /dev/null
+++ b/tests/ptr_arith.c
@@ -0,0 +1,4 @@
+int main(void) {
+ int *x;
+ x[5] = 1;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback