summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/src_file.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/src_file.txt')
-rw-r--r--src/cmd/go/testdata/script/src_file.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/src_file.txt b/src/cmd/go/testdata/script/src_file.txt
new file mode 100644
index 0000000..8d5c20b
--- /dev/null
+++ b/src/cmd/go/testdata/script/src_file.txt
@@ -0,0 +1,9 @@
+# Files in src should not be treated as packages
+
+exists $GOROOT/src/regexp/testdata/README
+go list -f '{{.Dir}}' regexp/testdata/README
+
+-- go.mod --
+module regexp/testdata/README
+-- p.go --
+package p