diff --git a/lang/cem/ctest/ctgen/ef.sed b/lang/cem/ctest/ctgen/ef.sed index 063e44a17..ae3b7b301 100644 --- a/lang/cem/ctest/ctgen/ef.sed +++ b/lang/cem/ctest/ctgen/ef.sed @@ -1,3 +1,5 @@ +1i\ +#ifndef NOFLOAT /LSTART/d s/FN/main/ /ISTART/c\ @@ -25,3 +27,7 @@ s/Z1/x/g s/Z2/y/g s/#/\\n/ s/@// +$a\ +#else\ +main() { return 0; }\ +#endif diff --git a/lang/cem/ctest/ctgen/ld.sed b/lang/cem/ctest/ctgen/ld.sed index 28cc4bb1a..0acaef0d4 100644 --- a/lang/cem/ctest/ctgen/ld.sed +++ b/lang/cem/ctest/ctgen/ld.sed @@ -1,3 +1,5 @@ +1i\ +#ifndef NOFLOAT /LSTART/d s/FN/main/ /ISTART/c\ @@ -25,3 +27,7 @@ s/Z1/x/g s/Z2/y/g s/#/\\n/ s/@// +$a\ +#else\ +main() { return 0; }\ +#endif diff --git a/lang/cem/ctest/ctgen/lf.sed b/lang/cem/ctest/ctgen/lf.sed index 5e2be1881..7d25727b2 100644 --- a/lang/cem/ctest/ctgen/lf.sed +++ b/lang/cem/ctest/ctgen/lf.sed @@ -1,3 +1,5 @@ +1i\ +#ifndef NOFLOAT /ISTART/d s/FN/main/ /LSTART/c\ @@ -25,3 +27,7 @@ s/Z1/x/g s/Z2/y/g s/#/\\n/ s/@// +$a\ +#else\ +main() { return 0; }\ +#endif