Skip to content

Commit fe2443f

Browse files
committed
go/internal/gccgoimporter: test fix for older gccgo versions
Import test fix https://golang.org/cl/153831 from std lib version (skips issue29198.go test for older versions of gccgo). Updates golang/go#29198. Change-Id: Iddd903068a73a307b1d19d93a7c03b1d00365022 Reviewed-on: https://go-review.googlesource.com/c/153870 Run-TryBot: Than McIntosh <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent bbccd8c commit fe2443f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/internal/gccgoimporter/importer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func TestObjImporter(t *testing.T) {
162162

163163
for _, test := range importerTests {
164164
// Support for type aliases was added in GCC 7.
165-
if test.pkgpath == "aliases" || test.pkgpath == "issue27856" {
165+
if test.pkgpath == "aliases" || test.pkgpath == "issue27856" || test.pkgpath == "issue29198" {
166166
if major < 7 {
167167
t.Logf("skipping %q: not supported before gccgo version 7", test.pkgpath)
168168
continue

0 commit comments

Comments
 (0)