aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2025-08-11 17:31:03 -0700
committerKeith Randall <khr@golang.org>2025-08-11 22:36:26 -0700
commitc31359138ca5078f33eb697f71fd280ca1889593 (patch)
tree7b2db0ad800f8e3833eac90756e099c7d7f840aa /test/fixedbugs
parent7248995b608cdf62362c1b95550edc0bdd15babe (diff)
downloadgo-c31359138ca5078f33eb697f71fd280ca1889593.tar.xz
Revert "cmd/compile: allow StructSelect [x] of interface data fields for x>0"
This reverts commit bcd25c79aa5675d3e5d28c09715b8147906da006 (CL 693415) Reason for revert: still causing compiler failures on Google test code Change-Id: I887edcff56bde3ffa316f2b629021ad323a357fa Reviewed-on: https://go-review.googlesource.com/c/go/+/694996 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'test/fixedbugs')
-rw-r--r--test/fixedbugs/issue74888.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/fixedbugs/issue74888.go b/test/fixedbugs/issue74888.go
deleted file mode 100644
index a0083adb9c..0000000000
--- a/test/fixedbugs/issue74888.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// compile
-
-// Copyright 2025 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package main
-
-type P struct {
- q struct{}
- p *int
-}
-
-func f(x any) {
- h(x.(P))
-}
-
-//go:noinline
-func h(P) {
-}