diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-11 15:11:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-11 15:11:28 -0400 |
| commit | 7ef85468265ecbc53efa18f67a5bd5ef46b8c7fb (patch) | |
| tree | e4d188bc4388a33ce6402cf561e003e002e4ee75 /test/cases.zig | |
| parent | aa2a31612fa677ddb747f8fa730f6a5732b3afa9 (diff) | |
| parent | b0b9c3c2dc4e55609db44dc0564795b7e2ed1b34 (diff) | |
| download | zig-7ef85468265ecbc53efa18f67a5bd5ef46b8c7fb.tar.gz zig-7ef85468265ecbc53efa18f67a5bd5ef46b8c7fb.zip | |
Merge pull request #9352 from g-w1/fix-9346
stage2 astgen: error for return outside of function scope
Diffstat (limited to 'test/cases.zig')
| -rw-r--r-- | test/cases.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases.zig b/test/cases.zig index ef8c1fd24f..fe1579be44 100644 --- a/test/cases.zig +++ b/test/cases.zig @@ -904,7 +904,7 @@ pub fn addCases(ctx: *TestContext) !void { \\ _ = S; \\} , - &.{":4:13: error: invalid 'try' outside function scope"}, + &.{":4:13: error: 'try' outside function scope"}, ); } { |
