summaryrefslogtreecommitdiff
path: root/test/varerr.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-01-17 12:40:45 +0100
committerOndřej Surý <ondrej@sury.org>2011-01-17 12:40:45 +0100
commit3e45412327a2654a77944249962b3652e6142299 (patch)
treebc3bf69452afa055423cbe0c5cfa8ca357df6ccf /test/varerr.go
parentc533680039762cacbc37db8dc7eed074c3e497be (diff)
downloadgolang-upstream/2011.01.12.tar.gz
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'test/varerr.go')
-rw-r--r--test/varerr.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/varerr.go b/test/varerr.go
index 32f33ecc7..ddd718f5b 100644
--- a/test/varerr.go
+++ b/test/varerr.go
@@ -7,8 +7,8 @@
package main
func main() {
- _ = asdf // ERROR "undefined: asdf"
+ _ = asdf // ERROR "undefined.*asdf"
- new = 1 // ERROR "use of builtin new not in function call"
+ new = 1 // ERROR "use of builtin new not in function call|invalid left hand side"
}