aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/install_msan_and_race_require_cgo.txt
blob: 7985cd2ab2728dfbb7311e6e96069b62f4b86792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Tests Issue #21895

[!msan] [!race] skip 'skipping because both msan and the race detector are not supported'

env CGO_ENABLED=0

[race] ! go install -race triv.go
[race] stderr '-race requires cgo'
[race] ! stderr '-msan'

[msan] ! go install -msan triv.go
[msan] stderr '-msan requires cgo'
[msan] ! stderr '-race'

-- triv.go --
package main

func main() {}