]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: adjust gccgo expected import errors
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2015 00:57:46 +0000 (17:57 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Oct 2015 14:37:44 +0000 (14:37 +0000)
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 <cmang@golang.org>
test/fixedbugs/issue5957.dir/c.go
test/import4.dir/import4.go

index a1781d4d406d09bebd872794a0d9cca04516e40d..d115eacdd56420d852786e6f52411a8adea17e3c 100644 (file)
@@ -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
index f92c663d04b741f33c536427700149ed06a8d22b..b9f973f1724be3ee3bc393d6d2e999ea58ebdefd 100644 (file)
@@ -18,7 +18,7 @@ import X "math"       // ERROR "imported and not used.*math"
 import . "bufio"       // ERROR "imported and not used.*bufio"
 
 // again, package without anything in it
-import "./empty"       // GC_ERROR "imported and not used.*empty"
-import Z "./empty"     // GC_ERROR "imported and not used.*empty"
+import "./empty"       // ERROR "imported and not used.*empty"
+import Z "./empty"     // ERROR "imported and not used.*empty"
 import . "./empty"     // ERROR "imported and not used.*empty"