summaryrefslogtreecommitdiff
path: root/test/typecheck.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typecheck.go')
-rw-r--r--test/typecheck.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/typecheck.go b/test/typecheck.go
index 239ceacc6..6f1204289 100644
--- a/test/typecheck.go
+++ b/test/typecheck.go
@@ -13,6 +13,6 @@ func mine(int b) int { // ERROR "undefined.*b"
}
func main() {
- mine()
- c = mine() // ERROR "undefined.*c" "cannot assign to c"
+ mine() // GCCGO_ERROR "not enough arguments"
+ c = mine() // ERROR "undefined.*c|not enough arguments"
}