summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug183.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug183.go')
-rw-r--r--test/fixedbugs/bug183.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug183.go b/test/fixedbugs/bug183.go
index 5c3ef4934..47f8bfe74 100644
--- a/test/fixedbugs/bug183.go
+++ b/test/fixedbugs/bug183.go
@@ -11,7 +11,7 @@ type T int
func f() {
var x struct { T };
var y struct { T T };
- x = y // ERROR "cannot"
+ x = y // ERROR "cannot|incompatible"
}
type T1 struct { T }
@@ -20,6 +20,6 @@ type T2 struct { T T }
func g() {
var x T1;
var y T2;
- x = y // ERROR "cannot"
+ x = y // ERROR "cannot|incompatible"
}