go/ssa: require 1.23 for TestCycles
TestCycles requires internal/trace/testtrace which was added in 1.23.
Fixes golang/go#69387
Fixes golang/go#69408
Change-Id: Iaa6b24a94216e7f2d9f7239b131e4a7e9ef9210e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/612399
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tim King <taking@google.com>
diff --git a/go/ssa/stdlib_test.go b/go/ssa/stdlib_test.go
index 391240a..9b78cfb 100644
--- a/go/ssa/stdlib_test.go
+++ b/go/ssa/stdlib_test.go
@@ -63,6 +63,7 @@
// This can under some schedules create a cycle of dependencies
// where both need to wait on the other to finish building.
func TestCycles(t *testing.T) {
+ testenv.NeedsGo1Point(t, 23) // internal/trace/testtrace was added in 1.23.
testLoad(t, 120, "net/http", "internal/trace/testtrace")
}