Initial commit: Go 1.23 release state
This commit is contained in:
17
test/fixedbugs/issue15548.dir/a.go
Normal file
17
test/fixedbugs/issue15548.dir/a.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2016 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 I0 interface {
|
||||
I1
|
||||
}
|
||||
|
||||
type T struct {
|
||||
I1
|
||||
}
|
||||
|
||||
type I1 interface {
|
||||
M(*T) // removing * makes crash go away
|
||||
}
|
||||
9
test/fixedbugs/issue15548.dir/b.go
Normal file
9
test/fixedbugs/issue15548.dir/b.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2016 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"
|
||||
|
||||
var X a.T
|
||||
10
test/fixedbugs/issue15548.dir/c.go
Normal file
10
test/fixedbugs/issue15548.dir/c.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2016 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 c
|
||||
|
||||
import (
|
||||
_ "./b"
|
||||
_ "./a"
|
||||
)
|
||||
Reference in New Issue
Block a user