summaryrefslogtreecommitdiff
path: root/tests/ptr_arith.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-25 14:58:33 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-25 14:58:33 -0700
commit1d943da0cf9154e7ce78ce867cdbb91531c5d78e (patch)
tree40c5c6c3ba7fafa6567aa5b5aa216caecf3935fc /tests/ptr_arith.c
initial dietc commit
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