mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
misc/cgo/testshared: fix tests in module mode
Updates #30228 Change-Id: I5cc739eb9fdfb648ec45e350d43d4cb02e450553 Reviewed-on: https://go-review.googlesource.com/c/163211 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
13d9a29060
commit
ffde2ddb95
24 changed files with 275 additions and 171 deletions
10
misc/cgo/testshared/testdata/implicitcmd/implicitcmd.go
vendored
Normal file
10
misc/cgo/testshared/testdata/implicitcmd/implicitcmd.go
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"testshared/explicit"
|
||||
"testshared/implicit"
|
||||
)
|
||||
|
||||
func main() {
|
||||
println(implicit.I() + explicit.E())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue