From c27a97d04853380f1e80525391b3f0d156ed4c84 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Thu, 30 Oct 2014 09:35:42 +0000 Subject: Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.9.2.tar.bz2. --- gcc/testsuite/go.test/test/fixedbugs/issue3783.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/go.test/test/fixedbugs/issue3783.go (limited to 'gcc/testsuite/go.test/test/fixedbugs/issue3783.go') diff --git a/gcc/testsuite/go.test/test/fixedbugs/issue3783.go b/gcc/testsuite/go.test/test/fixedbugs/issue3783.go new file mode 100644 index 0000000000..d7a4a2e8f3 --- /dev/null +++ b/gcc/testsuite/go.test/test/fixedbugs/issue3783.go @@ -0,0 +1,12 @@ +// errorcheck + +// Copyright 2012 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 foo + +var i int + +func (*i) bar() // ERROR "not a type|expected type" + -- cgit v1.2.1