mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
b04b690842
This is done at a later time anyway, so doesn't need to be done in the cgo package. In fact, _not_ doing it there makes it easier to print correct relative packages.
13 lines
192 B
Go
13 lines
192 B
Go
package main
|
|
|
|
// #error hello
|
|
// )))
|
|
import "C"
|
|
|
|
func main() {
|
|
}
|
|
|
|
// ERROR: # command-line-arguments
|
|
// ERROR: cgo.go:3:5: error: hello
|
|
// ERROR: cgo.go:4:4: error: expected identifier or '('
|