aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-12-14 21:43:50 -0800
committerIan Lance Taylor <iant@golang.org>2020-12-15 20:46:33 +0000
commit8e2d74b705ea669c7b5e56c81c59a350d5192352 (patch)
treeaea95940204bdad471104127512ee818060593e5 /test
parentf8ac2370324ad9b058fe9b943f5807ac28a88f6f (diff)
downloadgo-8e2d74b705ea669c7b5e56c81c59a350d5192352.tar.gz
go-8e2d74b705ea669c7b5e56c81c59a350d5192352.zip
test: only check for issue11362 error with gc
With the gc compiler the import path implies the package path, so keeping a canonical path is important. With the gofrontend this is not the case, so we don't need to report this as a bug. Change-Id: I245e34f9b66383bd17e79438d4b002a3e20aa994 Reviewed-on: https://go-review.googlesource.com/c/go/+/278115 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/fixedbugs/issue11362.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue11362.go b/test/fixedbugs/issue11362.go
index 9e9e599595..964e5fdf6b 100644
--- a/test/fixedbugs/issue11362.go
+++ b/test/fixedbugs/issue11362.go
@@ -8,7 +8,7 @@
package main
-import _ "unicode//utf8" // ERROR "non-canonical import path .unicode//utf8. \(should be .unicode/utf8.\)" "can't find import: .unicode//utf8."
+import _ "unicode//utf8" // GC_ERROR "non-canonical import path .unicode//utf8. \(should be .unicode/utf8.\)" "can't find import: .unicode//utf8."
func main() {
}