Source file test/typeparam/issue49241.dir/c.go
1 // Copyright 2021 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package c 6 7 import "./a" 8 9 //go:noinline 10 func F() interface{} { 11 return a.T[int]{} 12 } 13 14 //go:noinline 15 func G() interface{} { 16 return struct{ X, Y a.U }{} 17 } 18