diff options
Diffstat (limited to 'libgo/go/cmd/go/testdata/script/mod_domain_root.txt')
-rw-r--r-- | libgo/go/cmd/go/testdata/script/mod_domain_root.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/testdata/script/mod_domain_root.txt b/libgo/go/cmd/go/testdata/script/mod_domain_root.txt new file mode 100644 index 00000000000..e34cc29fa64 --- /dev/null +++ b/libgo/go/cmd/go/testdata/script/mod_domain_root.txt @@ -0,0 +1,12 @@ +# Module paths that are domain roots should resolve. +# (example.com not example.com/something) + +env GO111MODULE=on +go build + +-- go.mod -- +module x + +-- x.go -- +package x +import _ "example.com" |