From e7fe081efaae893ed46548fdbc3bfa39b2879878 Mon Sep 17 00:00:00 2001 From: zinc Date: Thu, 15 Oct 2026 18:29:55 +0330 Subject: duplicate case labels are an error (b.2.15); unterminated string literal reported where it starts (b.2.11); an unreachable droppable cycle drops whole in one collection (6.15.3) --- tests/conformance/1-source/string_unterminated.zc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/conformance/1-source/string_unterminated.zc (limited to 'tests/conformance/1-source') diff --git a/tests/conformance/1-source/string_unterminated.zc b/tests/conformance/1-source/string_unterminated.zc new file mode 100644 index 0000000..aca63d3 --- /dev/null +++ b/tests/conformance/1-source/string_unterminated.zc @@ -0,0 +1,5 @@ +// expect error: zc: line 4: unterminated string literal +// spec 1.4.4 (was appendix b.2.11): a string with no closing quote is reported where it starts +include rt; +fn main() { rt.put_s("never closed); return 0; } +// zc0: skip -- cgit v1.2.3