scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 0ce2c994978533590d4c061bddc5ebf56b26f94a
parent f79dac5748b0ed8af46be26456a48e2d5ac7ceb8
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  6 Mar 2017 16:02:51 +0100

[tests] Add basic test for float constants.

Diffstat:
Atests/execute/0127-doublecte.c | 7+++++++
Mtests/execute/scc-tests.lst | 1+
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/execute/0127-doublecte.c b/tests/execute/0127-doublecte.c @@ -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 @@ -117,3 +117,4 @@ 0124-enumstruct.c [TODO] 0125-fundcl.c 0126-macropar.c [TODO] +0127-doublecte.c [TODO]