Initial commit: Go 1.23 release state
This commit is contained in:
13
test/fixedbugs/issue23179.dir/a.go
Normal file
13
test/fixedbugs/issue23179.dir/a.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017 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 a
|
||||
|
||||
type Large struct {
|
||||
x [256]int
|
||||
}
|
||||
|
||||
func F(x int, _ int, _ bool, _ Large) int {
|
||||
return x
|
||||
}
|
||||
11
test/fixedbugs/issue23179.dir/b.go
Normal file
11
test/fixedbugs/issue23179.dir/b.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017 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 b
|
||||
|
||||
import "./a"
|
||||
|
||||
func G(x int) int {
|
||||
return a.F(x, 1, false, a.Large{})
|
||||
}
|
||||
Reference in New Issue
Block a user