commit 38090ae7167733697365980e0993cb15aac36371 parent f3ba2abaf4df6b45401263ffa68986483653f034 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Wed, 22 Feb 2017 07:48:45 +0100 [tests] Add 0116-floatcmp.c Diffstat:
A | tests/execute/0116-floatcmp.c | | | 9 | +++++++++ |
M | tests/execute/scc-tests.lst | | | 1 | + |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tests/execute/0116-floatcmp.c b/tests/execute/0116-floatcmp.c @@ -0,0 +1,9 @@ + +int +main() +{ + int a = 0; + float f = a + 1; + + return f == a; +} diff --git a/tests/execute/scc-tests.lst b/tests/execute/scc-tests.lst @@ -106,3 +106,4 @@ 0113-externredecl.c 0114-shortassig.c 0115-null-comparision.c +0116-floatcmp.c