...

Source file src/cmd/cgo/internal/testerrors/testdata/err5.go

Documentation: cmd/cgo/internal/testerrors/testdata

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  //line /tmp/_cgo_.go:1
     8  //go:cgo_dynamic_linker "/elf/interp"
     9  // ERROR MESSAGE: only allowed in cgo-generated code
    10  
    11  func main() {}
    12  

View as plain text