diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug367.dir/p.go')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug367.dir/p.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug367.dir/p.go b/gcc/testsuite/go.test/test/fixedbugs/bug367.dir/p.go new file mode 100644 index 0000000000..c8772d2d05 --- /dev/null +++ b/gcc/testsuite/go.test/test/fixedbugs/bug367.dir/p.go @@ -0,0 +1,15 @@ +package p + +type T struct{ x int } +type S struct{} + +func (p *S) get() { +} + +type I interface { + get() +} + +func F(i I) { + i.get() +} |