diff options
Diffstat (limited to 'src/cmd/compile/internal/syntax/testdata/issue49205.go')
| -rw-r--r-- | src/cmd/compile/internal/syntax/testdata/issue49205.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/syntax/testdata/issue49205.go b/src/cmd/compile/internal/syntax/testdata/issue49205.go index bbcc950c5c..9b6c769703 100644 --- a/src/cmd/compile/internal/syntax/testdata/issue49205.go +++ b/src/cmd/compile/internal/syntax/testdata/issue49205.go @@ -7,7 +7,7 @@ package p // test case from issue type _ interface{ - m /* ERROR unexpected int in interface type; possibly missing semicolon or newline or } */ int + m /* ERROR unexpected `int' in interface type; possibly missing semicolon or newline or } */ int } // other cases where the fix for this issue affects the error message @@ -16,12 +16,12 @@ const ( x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo" ) -var _ = []int{1, 2, 3 /* ERROR unexpected int in composite literal; possibly missing comma or } */ int } +var _ = []int{1, 2, 3 /* ERROR unexpected `int' in composite literal; possibly missing comma or } */ int } type _ struct { x y /* ERROR syntax error: unexpected comma in struct type; possibly missing semicolon or newline or } */ , } -func f(a, b c /* ERROR unexpected d in parameter list; possibly missing comma or \) */ d) { - f(a, b, c /* ERROR unexpected d in argument list; possibly missing comma or \) */ d) +func f(a, b c /* ERROR unexpected `d' in parameter list; possibly missing comma or \) */ d) { + f(a, b, c /* ERROR unexpected `d' in argument list; possibly missing comma or \) */ d) } |
