[hackers] [scc] [tests] Add 0116-floatcmp.c || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 22 Feb 2017 10:34:09 +0100 (CET)

commit 38090ae7167733697365980e0993cb15aac36371
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Feb 22 07:48:45 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Feb 22 07:48:45 2017 +0100

    [tests] Add 0116-floatcmp.c

diff --git a/tests/execute/0116-floatcmp.c b/tests/execute/0116-floatcmp.c
new file mode 100644
index 0000000..e161c2c
--- /dev/null
+++ b/tests/execute/0116-floatcmp.c
_AT_@ -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
index 9e66e0f..20978d0 100644
--- a/tests/execute/scc-tests.lst
+++ b/tests/execute/scc-tests.lst
_AT_@ -106,3 +106,4 @@
 0113-externredecl.c
 0114-shortassig.c
 0115-null-comparision.c
+0116-floatcmp.c
Received on Wed Feb 22 2017 - 10:34:09 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 22 2017 - 10:36:29 CET