1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Test that -static works when not using cgo. This test is in
6 // misc/cgo to take advantage of the testing framework support for
7 // when -static is expected to work.
14 // The test is run with external linking, which means that
15 // goroutines will be created via the runtime/cgo package.
16 // Make sure that works.