diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/diagnostics/break-outside-loop.slang.expected | 2 | ||||
| -rw-r--r-- | tests/diagnostics/token-line-continuation.slang.expected | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/diagnostics/break-outside-loop.slang.expected b/tests/diagnostics/break-outside-loop.slang.expected index 1ed54e981..808aafdb3 100644 --- a/tests/diagnostics/break-outside-loop.slang.expected +++ b/tests/diagnostics/break-outside-loop.slang.expected @@ -1,6 +1,6 @@ result code = -1 standard error = { -tests/diagnostics/break-outside-loop.slang(6): error 30003: 'break' must appear inside loop constructs. +tests/diagnostics/break-outside-loop.slang(6): error 30003: 'break' must appear inside loop or switch constructs. void foo() { break; } ^~~~~ } diff --git a/tests/diagnostics/token-line-continuation.slang.expected b/tests/diagnostics/token-line-continuation.slang.expected index 754d6b7fc..027f2ba2e 100644 --- a/tests/diagnostics/token-line-continuation.slang.expected +++ b/tests/diagnostics/token-line-continuation.slang.expected @@ -1,6 +1,6 @@ result code = -1 standard error = { -tests/diagnostics/token-line-continuation.slang(5): error 30003: 'break' must appear inside loop constructs. +tests/diagnostics/token-line-continuation.slang(5): error 30003: 'break' must appear inside loop or switch constructs. void foo() { br\ ^~ } |
