diff options
Diffstat (limited to 'test/fixedbugs/issue23732.go')
-rw-r--r-- | test/fixedbugs/issue23732.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fixedbugs/issue23732.go b/test/fixedbugs/issue23732.go index 5e63eb2074..db2d182234 100644 --- a/test/fixedbugs/issue23732.go +++ b/test/fixedbugs/issue23732.go @@ -21,22 +21,22 @@ type Bar struct { } func main() { - _ = Foo{ + _ = Foo{ // GCCGO_ERROR "too few expressions" 1, 2, - 3, // ERROR "too few values in Foo{...}" + 3, // GC_ERROR "too few values in Foo{...}" } _ = Foo{ 1, 2, 3, - Bar{"A", "B"}, // ERROR "too many values in Bar{...}" + Bar{"A", "B"}, // ERROR "too many values in Bar{...}|too many expressions" } - _ = Foo{ + _ = Foo{ // GCCGO_ERROR "too few expressions" 1, 2, - Bar{"A", "B"}, // ERROR "too many values in Bar{...}" "too few values in Foo{...}" + Bar{"A", "B"}, // ERROR "too many values in Bar{...}|too many expressions" "too few values in Foo{...}" } } |