Patrice Arruda | 748609c | 2020-06-25 12:12:21 -0700 | [diff] [blame] | 1 | [!cgo] skip |
2 | |||||
3 | # Test that nothing is prepended to $WORK path prefix. | ||||
4 | # See issue golang.org/issue/37012. | ||||
5 | go build -n | ||||
6 | ! stderr '[/\\]\$WORK' | ||||
7 | |||||
Colin Cross | 1f80552 | 2021-05-14 11:10:59 -0700 | [diff] [blame] | 8 | -- go.mod -- |
9 | module m | ||||
10 | |||||
11 | go 1.16 | ||||
Patrice Arruda | 748609c | 2020-06-25 12:12:21 -0700 | [diff] [blame] | 12 | -- main.go -- |
13 | package main | ||||
14 | |||||
15 | import "C" | ||||
16 | |||||
17 | var _ C.int |