diff options
| author | 2026-10-14 17:12:04 +0330 | |
|---|---|---|
| committer | 2026-10-14 17:12:04 +0330 | |
| commit | ee6925c12b3275c05f5943ef7785fa1d958de499 (patch) | |
| tree | 7f7a1f55e4f91ca0f30a85a868d1c20631e5f344 /tests/conformance/1-source/comment_block_unclosed.zc | |
| parent | wip: bench wraps bench.sh (diff) | |
| parent | merge work/spec: appendix b round, zc0umd rewrite (diff) | |
Merge branch 'main' into work/bench
Diffstat (limited to 'tests/conformance/1-source/comment_block_unclosed.zc')
| -rw-r--r-- | tests/conformance/1-source/comment_block_unclosed.zc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conformance/1-source/comment_block_unclosed.zc b/tests/conformance/1-source/comment_block_unclosed.zc index 4ae34e7..cb410f9 100644 --- a/tests/conformance/1-source/comment_block_unclosed.zc +++ b/tests/conformance/1-source/comment_block_unclosed.zc @@ -1,4 +1,5 @@ -// expect: 4/ +// expect error: unterminated comment +// spec 1.2.2: a block comment that is never closed is an error include rt; fn main() { rt.put_n(4); rt.put_c(10); return 0; } /* never closed: rt.put_n(9); |
