From 39857ceb4ece09eb739fe17895ec807e3e04f602 Mon Sep 17 00:00:00 2001 From: zinc Date: Wed, 14 Oct 2026 15:55:01 +0330 Subject: casts: a cast clears the byte-string flag unless the type is bstr, so (int*)s indexes words --- tests/conformance/known.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/conformance') diff --git a/tests/conformance/known.txt b/tests/conformance/known.txt index 94d7869..18492fd 100644 --- a/tests/conformance/known.txt +++ b/tests/conformance/known.txt @@ -1,6 +1,5 @@ # understood conformance failures: PATH IMPL CLASS reason # class a: self-hosted compiler bug; b: zc0 deviation (appendix a/b); c: spec issue to settle -1-source/lit_bstr_cast_to_int_pointer.zc zy a the bstr flag leaks into an int* local, so p[0] reads a byte 2-types/typecheck_off_void_return_value_ok.zc zy a void f() { return 3; } yields 3, not 0 (spec 4.8.3) 3-expressions/call_24_parameters.zc zy a the parameter limit is 23, not 24 (decl.zc; closures 19) 3-expressions/call_24_parameters_prototype.zc zy a the parameter limit is 23, not 24 (decl.zc; closures 19) -- cgit v1.2.3