summaryrefslogtreecommitdiff
path: root/test/typeswitch2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeswitch2.go')
-rw-r--r--test/typeswitch2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/typeswitch2.go b/test/typeswitch2.go
index 57c5a18ab..3e3acdae3 100644
--- a/test/typeswitch2.go
+++ b/test/typeswitch2.go
@@ -23,10 +23,10 @@ func whatis(x interface{}) string {
w()
}:
return "rw"
- case interface {
+ case interface { // GCCGO_ERROR "duplicate"
w()
r()
- }: // ERROR "duplicate"
+ }: // GC_ERROR "duplicate"
return "wr"
}