From 449cc06e9825c130af7cba4910cecb66f98a2345 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 6 Oct 2015 17:57:46 -0700 Subject: test: adjust gccgo expected import errors Update two tests for the recently submitted gccgo change https://golang.org/cl/14259. Change-Id: Ib18bc87ea512074aa91fd4096d0874b72e2243e5 Reviewed-on: https://go-review.googlesource.com/15493 Reviewed-by: Chris Manghane --- test/fixedbugs/issue5957.dir/c.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/fixedbugs/issue5957.dir') diff --git a/test/fixedbugs/issue5957.dir/c.go b/test/fixedbugs/issue5957.dir/c.go index a1781d4d40..d115eacdd5 100644 --- a/test/fixedbugs/issue5957.dir/c.go +++ b/test/fixedbugs/issue5957.dir/c.go @@ -2,7 +2,7 @@ package p import ( "./a" // ERROR "imported and not used: \x22a\x22 as surprise|imported and not used: surprise" - "./b" // GC_ERROR "imported and not used: \x22b\x22 as surprise2|imported and not used: surprise2" + "./b" // ERROR "imported and not used: \x22b\x22 as surprise2|imported and not used: surprise2" b "./b" // ERROR "imported and not used: \x22b\x22$|imported and not used: surprise2" foo "math" // ERROR "imported and not used: \x22math\x22 as foo|imported and not used: math" "fmt" // actually used -- cgit v1.2.1