aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixedbugs/issue10607.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue10607.go b/test/fixedbugs/issue10607.go
index 8a04bc9def..759be715b7 100644
--- a/test/fixedbugs/issue10607.go
+++ b/test/fixedbugs/issue10607.go
@@ -1,4 +1,4 @@
-// +build linux,!ppc64,gc
+// +build linux,!ppc64,gc,cgo
// run
// Copyright 2015 The Go Authors. All rights reserved.
@@ -19,7 +19,7 @@ import (
func main() {
test("internal")
- test("external")
+ test("external") // The 'cgo' build constraint should imply that a linker is available.
}
func test(linkmode string) {