aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/modlegacy/src/old
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/modlegacy/src/old')
-rw-r--r--src/cmd/go/testdata/modlegacy/src/old/p1/p1.go5
-rw-r--r--src/cmd/go/testdata/modlegacy/src/old/p2/p2.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/modlegacy/src/old/p1/p1.go b/src/cmd/go/testdata/modlegacy/src/old/p1/p1.go
new file mode 100644
index 0000000000..90527483ab
--- /dev/null
+++ b/src/cmd/go/testdata/modlegacy/src/old/p1/p1.go
@@ -0,0 +1,5 @@
+package p1
+
+import _ "old/p2"
+import _ "new/p1"
+import _ "new"
diff --git a/src/cmd/go/testdata/modlegacy/src/old/p2/p2.go b/src/cmd/go/testdata/modlegacy/src/old/p2/p2.go
new file mode 100644
index 0000000000..9b9052f541
--- /dev/null
+++ b/src/cmd/go/testdata/modlegacy/src/old/p2/p2.go
@@ -0,0 +1 @@
+package p2