diff options
Diffstat (limited to 'tests/conformance/1-source/lit_float_bad_exponent.zc')
| -rw-r--r-- | tests/conformance/1-source/lit_float_bad_exponent.zc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/conformance/1-source/lit_float_bad_exponent.zc b/tests/conformance/1-source/lit_float_bad_exponent.zc new file mode 100644 index 0000000..581985d --- /dev/null +++ b/tests/conformance/1-source/lit_float_bad_exponent.zc @@ -0,0 +1,4 @@ +// expect error: bad float +include rt; +fn main() { rt.put_n(1e); return 0; } +// zc0: error |
