aboutsummaryrefslogtreecommitdiff
path: root/test/ddd1.go
diff options
context:
space:
mode:
authorLuuk van Dijk <lvd@golang.org>2011-10-08 19:37:06 +0200
committerLuuk van Dijk <lvd@golang.org>2011-10-08 19:37:06 +0200
commitb536adbfba6d13e141ba65cda77d69e4ce7e5177 (patch)
tree1374cf92f897ee302dca518360e9834809393a00 /test/ddd1.go
parentbffadd6bd78465e4a9b2e736963fea0630bd9308 (diff)
downloadgo-b536adbfba6d13e141ba65cda77d69e4ce7e5177.tar.gz
go-b536adbfba6d13e141ba65cda77d69e4ce7e5177.zip
gc: changes to export format in preparation for inlining.
string literals used as package qualifiers are now prefixed with '@' which obviates the need for the extra ':' before tags. R=rsc, gri, lvd CC=golang-dev https://golang.org/cl/5129057
Diffstat (limited to 'test/ddd1.go')
-rw-r--r--test/ddd1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ddd1.go b/test/ddd1.go
index 83e32de7b6..6d84248e5e 100644
--- a/test/ddd1.go
+++ b/test/ddd1.go
@@ -15,8 +15,8 @@ var (
_ = sum()
_ = sum(1.0, 2.0)
_ = sum(1.5) // ERROR "integer"
- _ = sum("hello") // ERROR "string.*as type int|incompatible"
- _ = sum([]int{1}) // ERROR "slice literal.*as type int|incompatible"
+ _ = sum("hello") // ERROR ".hello. .type string. as type int|incompatible"
+ _ = sum([]int{1}) // ERROR "\[\]int literal.*as type int|incompatible"
)
type T []T