blob: 2d624d1da6bb61db145abf9e05567d676606f22d [file] [log] [blame]
# Tests issue #26242
go test testnorun
stdout 'testnorun\t\[no test files\]'
-- go.mod --
module testnorun
go 1.16
-- p.go --
package p
func init() {
panic("go test must not link and run test binaries without tests")
}