blob: 3f49ef6f9ea80cba4e87b6c90e9e5541b1ddc88c [file] [log] [blame]
# Tests golang.org/issue/14944
[!cgo] skip
go build -n foo.go
! stderr 'os.Stat .* no such file or directory' # there shouldn't be a stat of the archive file
-- foo.go --
package main
/*
#include <limits.h>
*/
import "C"
func main() {
println(C.INT_MAX)
}