blob: 912410814f47421cfd7c73abe63250306fd43d2f [file] [log] [blame]
[short] skip
# Ensure that the target of 'go build -o' can be an existing, empty file so that
# its name can be reserved using ioutil.TempFile or the 'mktemp` command.
go build -o empty-file$GOEXE main.go
-- main.go --
package main
func main() {}
-- empty-file$GOEXE --