Commit 52e2126a authored by Bryan C. Mills's avatar Bryan C. Mills

runtime: do not use a relative import in testdata

Relative imports do not work in module mode. Use a fully-qualified
import path instead.

Updates #30228

Change-Id: I0a42ffa521a7b513395e7e1788022d24cbb1f31a
Reviewed-on: https://go-review.googlesource.com/c/go/+/165817
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarJay Conrod <jayconrod@google.com>
parent b1a783df
...@@ -12,7 +12,7 @@ DWORD getthread() { ...@@ -12,7 +12,7 @@ DWORD getthread() {
} }
*/ */
import "C" import "C"
import "./windows" import "runtime/testdata/testprogcgo/windows"
func init() { func init() {
register("CgoDLLImportsMain", CgoDLLImportsMain) register("CgoDLLImportsMain", CgoDLLImportsMain)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment