From 307315a7305e76529837fd1cdb677f534d5f539b Mon Sep 17 00:00:00 2001 From: Yong He Date: Sun, 20 Oct 2024 09:28:13 -0700 Subject: Properly check switch case. (#5341) --- tests/diagnostics/constexpr-error.slang.expected | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/diagnostics/constexpr-error.slang.expected (limited to 'tests/diagnostics/constexpr-error.slang.expected') diff --git a/tests/diagnostics/constexpr-error.slang.expected b/tests/diagnostics/constexpr-error.slang.expected deleted file mode 100644 index 6f124fe34..000000000 --- a/tests/diagnostics/constexpr-error.slang.expected +++ /dev/null @@ -1,20 +0,0 @@ -result code = -1 -standard error = { -tests/diagnostics/constexpr-error.slang(27): error 40006: expected a compile-time constant - result += t.Sample(s, uv, offset); - ^~~~~~ -tests/diagnostics/constexpr-error.slang(35): error 40006: expected a compile-time constant - result += t.Sample(s, uv, int2(ii)); - ^ -tests/diagnostics/constexpr-error.slang(39): error 40006: expected a compile-time constant - for(uint jj = 0; jj < uv.y; jj++) - ^~ -tests/diagnostics/constexpr-error.slang(41): error 40006: expected a compile-time constant - result += t.Sample(s, uv, int2(jj)); - ^ -tests/diagnostics/constexpr-error.slang(39): error 40006: expected a compile-time constant - for(uint jj = 0; jj < uv.y; jj++) - ^~ -} -standard output = { -} -- cgit v1.2.3