diff options
| author | 2026-10-14 15:53:37 +0330 | |
|---|---|---|
| committer | 2026-10-14 15:53:37 +0330 | |
| commit | 5a4f3885edafe289dce17ec8b53a8fc188b9e146 (patch) | |
| tree | 1a44421ad2b988b5ed95c08a000062eae4244243 /tests/langerrors/bad_float_first_statement.zc | |
| parent | merge spec conformance suite (diff) | |
capture_scan: restore panic after the dry scan, so a bad literal in a function's first statement is reported
Diffstat (limited to 'tests/langerrors/bad_float_first_statement.zc')
| -rw-r--r-- | tests/langerrors/bad_float_first_statement.zc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/langerrors/bad_float_first_statement.zc b/tests/langerrors/bad_float_first_statement.zc new file mode 100644 index 0000000..2dcca38 --- /dev/null +++ b/tests/langerrors/bad_float_first_statement.zc @@ -0,0 +1,3 @@ +// expect: bad float +include rt; +fn main() { rt.put_n(1e); return 0; } |
