commit 4354a0c2d46f80124a976e4dc5d76b99fcf50ddb
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed Feb 22 10:33:47 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Feb 22 10:33:47 2017 +0100

    [tests] Add 0117-pointarith.c

diff --git a/tests/execute/0117-pointarith.c b/tests/execute/0117-pointarith.c
new file mode 100644
index 0000000..6d0f013
--- /dev/null
+++ b/tests/execute/0117-pointarith.c
@@ -0,0 +1,7 @@
+int
+main()
+{
+       int i, *p = &i;
+
+       return p - (void*) 0 == 0;
+}
diff --git a/tests/execute/scc-tests.lst b/tests/execute/scc-tests.lst
index 20978d0..c45d092 100644
--- a/tests/execute/scc-tests.lst
+++ b/tests/execute/scc-tests.lst
@@ -107,3 +107,4 @@
 0114-shortassig.c
 0115-null-comparision.c
 0116-floatcmp.c
+0117-pointarith.c

Reply via email to