Text file
src/cmd/go/testdata/script/install_msan_and_race_require_cgo.txt
1 # Tests Issue #21895
2
3 env CGO_ENABLED=0
4
5 [race] ! go install -race triv.go
6 [race] stderr '-race requires cgo'
7 [race] ! stderr '-msan'
8
9 [msan] ! go install -msan triv.go
10 [msan] stderr '-msan requires cgo'
11 [msan] ! stderr '-race'
12
13 [asan] ! go install -asan triv.go
14 [asan] stderr '-asan requires cgo'
15 [asan] ! stderr '-msan'
16
17 -- triv.go --
18 package main
19
20 func main() {}
View as plain text