aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt')
-rw-r--r--src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt b/src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt
new file mode 100644
index 0000000000..9298afb1fb
--- /dev/null
+++ b/src/cmd/go/testdata/mod/example.com_cmd_v1.9.0.txt
@@ -0,0 +1,30 @@
+example.com/cmd contains main packages.
+
+-- .info --
+{"Version":"v1.9.0"}
+-- .mod --
+module example.com/cmd
+
+go 1.16
+
+// this is a bad version
+retract v1.9.0
+-- go.mod --
+module example.com/cmd
+
+go 1.16
+
+// this is a bad version
+retract v1.9.0
+-- a/a.go --
+package main
+
+func main() {}
+-- b/b.go --
+package main
+
+func main() {}
+-- err/err.go --
+package err
+
+var X = DoesNotCompile