blob: 05f721a80070ae0e2fecc54f09ae78593e84defe [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 os.CreateTemp or the 'mktemp` command.
go build -o empty-file$GOEXE main.go
-- main.go --
package main
func main() {}
-- empty-file$GOEXE --