summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/norunexample/example_test.go
blob: e158305a6c8cd93adf036b2f6234d3b88f98021d (plain)
1
2
3
4
5
6
7
8
9
10
11
package pkg_test

import "os"

func init() {
	os.Stdout.Write([]byte("File with non-runnable example was built.\n"))
}

func Example_test() {
	// This test will not be run, it has no "Output:" comment.
}