commit 4354a0c2d46f80124a976e4dc5d76b99fcf50ddb parent 38090ae7167733697365980e0993cb15aac36371 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Wed, 22 Feb 2017 10:33:47 +0100 [tests] Add 0117-pointarith.c Diffstat:
A | tests/execute/0117-pointarith.c | | | 7 | +++++++ |
M | tests/execute/scc-tests.lst | | | 1 | + |
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/tests/execute/0117-pointarith.c 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 @@ -107,3 +107,4 @@ 0114-shortassig.c 0115-null-comparision.c 0116-floatcmp.c +0117-pointarith.c