# 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)
}