summaryrefslogtreecommitdiff
path: root/test/func4.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/func4.go')
-rw-r--r--test/func4.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/func4.go b/test/func4.go
index bcf5b93fa..69ce56a19 100644
--- a/test/func4.go
+++ b/test/func4.go
@@ -9,6 +9,6 @@ package main
var notmain func()
func main() {
- var x = &main; // ERROR "address of|invalid"
- main = notmain; // ERROR "assign to|invalid"
+ var x = &main // ERROR "address of|invalid"
+ main = notmain // ERROR "assign to|invalid"
}