diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug282.dir')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p1.go | 10 | ||||
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p2.go | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p1.go b/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p1.go new file mode 100644 index 000000000..b562755e5 --- /dev/null +++ b/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p1.go @@ -0,0 +1,10 @@ +// Copyright 2010 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 p1 + +type T struct { + f func() "x" +} + diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p2.go b/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p2.go new file mode 100644 index 000000000..3f8bd9d49 --- /dev/null +++ b/gcc/testsuite/go.test/test/fixedbugs/bug282.dir/p2.go @@ -0,0 +1,8 @@ +// Copyright 2010 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 p2 + +import _ "./p1" + |