Sign in
fuchsia
/
third_party
/
go
/
fa0292d252c762ff3de92b87d13417c50704f3a0
/
.
/
src
/
cmd
/
go
/
testdata
/
script
/
darwin_lto_library_ldflag.txt
blob: d7acefdbad63864c7628a7812dd520b405675dab [
file
] [
log
] [
blame
]
[!GOOS:darwin] skip
[!cgo] skip
! go build
stderr 'invalid flag in #cgo LDFLAGS: -lto_library'
-- go.mod --
module ldflag
-- main.go --
package main
// #cgo CFLAGS: -flto
// #cgo LDFLAGS: -lto_library bad.dylib
import "C"
func main() {}