shithub: scc

Download patch

ref: ceb577f086d0bce74b70732256beee684a2b12e7
parent: 4f535bf888f4affdd2a8199c5cfd1470925e0cde
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Feb 22 05:33:47 EST 2017

[tests] Add 0117-pointarith.c

--- /dev/null
+++ b/tests/execute/0117-pointarith.c
@@ -1,0 +1,7 @@
+int
+main()
+{
+	int i, *p = &i;
+
+	return p - (void*) 0 == 0;
+}
--- 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