[hackers] [scc] [tests] Add basic test for float constants. || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 6 Mar 2017 16:05:28 +0100 (CET)

commit 0ce2c994978533590d4c061bddc5ebf56b26f94a
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Mar 6 16:02:51 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Mar 6 16:04:13 2017 +0100

    [tests] Add basic test for float constants.

diff --git a/tests/execute/0127-doublecte.c b/tests/execute/0127-doublecte.c
new file mode 100644
index 0000000..eb7f282
--- /dev/null
+++ b/tests/execute/0127-doublecte.c
_AT_@ -0,0 +1,7 @@
+double x = 100.0;
+
+int
+main()
+{
+ return x < 1;
+}
diff --git a/tests/execute/scc-tests.lst b/tests/execute/scc-tests.lst
index 07500bd..cb6e93c 100644
--- a/tests/execute/scc-tests.lst
+++ b/tests/execute/scc-tests.lst
_AT_@ -117,3 +117,4 @@
 0124-enumstruct.c [TODO]
 0125-fundcl.c
 0126-macropar.c [TODO]
+0127-doublecte.c [TODO]
Received on Mon Mar 06 2017 - 16:05:28 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 06 2017 - 16:12:23 CET