From 43a123c1ae6613b3efeed291fa552ecd909d3acf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:23:18 +0200 Subject: Adding upstream version 1.20.14. Signed-off-by: Daniel Baumann --- src/cmd/go/testdata/script/build_go122.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/cmd/go/testdata/script/build_go122.txt (limited to 'src/cmd/go/testdata/script/build_go122.txt') diff --git a/src/cmd/go/testdata/script/build_go122.txt b/src/cmd/go/testdata/script/build_go122.txt new file mode 100644 index 0000000..a17fc25 --- /dev/null +++ b/src/cmd/go/testdata/script/build_go122.txt @@ -0,0 +1,24 @@ +! go build +stderr '^m: cannot compile Go 1.22 code$' + +cd dep +! go build +stderr '^m: cannot compile Go 1.22 code$' + +-- go.mod -- +module m +go 1.22 + +-- p.go -- +package p + +-- dep/go.mod -- +module dep +go 1.19 +require m v1.0.0 +replace m v1.0.0 => ../ + +-- dep/p.go -- +package p + +import "m" -- cgit v1.2.3