aboutsummaryrefslogtreecommitdiff
path: root/tests/subtract-pointer.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-11 18:43:18 -0800
committerMichael Forney <mforney@mforney.org>2019-02-12 01:55:14 -0800
commiteddc4693e49f70cd214b7645cb9fce54a89fbb6c (patch)
treefa1b640f49cde25e323aa0629aed64c064da930e /tests/subtract-pointer.c
Initial import
Diffstat (limited to 'tests/subtract-pointer.c')
-rw-r--r--tests/subtract-pointer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/subtract-pointer.c b/tests/subtract-pointer.c
new file mode 100644
index 0000000..1de9dde
--- /dev/null
+++ b/tests/subtract-pointer.c
@@ -0,0 +1,3 @@
+void f(int *x, int *y) {
+ x - y;
+}