diff options
Diffstat (limited to 'src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go')
-rw-r--r-- | src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go b/src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go index f289d2e52d..503d9946b4 100644 --- a/src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go +++ b/src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go @@ -22,4 +22,4 @@ type _[P /* ERROR non-function P */ (*int)] int type _[P *struct /* ERROR "not an expression" */ {}| int /* ERROR "not an expression" */ ] struct{} // The following fails to parse, due to the '~' -type _[P *struct /* ERROR "not an expression" */ {}|~ /* ERROR "unexpected ~" */ int] struct{} +type _[P *struct /* ERROR "not an expression" */ {}|~int /* ERROR "not an expression" */ ] struct{} |