Source file test/fixedbugs/issue74888.go
1 // compile 2 3 // Copyright 2025 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 package main 8 9 type P struct { 10 q struct{} 11 p *int 12 } 13 14 func f(x any) { 15 h(x.(P)) 16 } 17 18 //go:noinline 19 func h(P) { 20 } 21