blob: 05f721a80070ae0e2fecc54f09ae78593e84defe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
[short] skip
# Ensure that the target of 'go build -o' can be an existing, empty file so that
# its name can be reserved using os.CreateTemp or the 'mktemp` command.
go build -o empty-file$GOEXE main.go
-- main.go --
package main
func main() {}
-- empty-file$GOEXE --
|