From d83e43ccc6bd453cb1c85b83e37560c7bc420963 Mon Sep 17 00:00:00 2001 From: Chris Manghane Date: Mon, 13 Oct 2014 12:33:45 -0700 Subject: [PATCH] test: add test for gccgo-specific issue 8079 LGTM=gri R=gri CC=golang-codereviews, iant https://golang.org/cl/159850044 --- test/fixedbugs/issue8079.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/fixedbugs/issue8079.go diff --git a/test/fixedbugs/issue8079.go b/test/fixedbugs/issue8079.go new file mode 100644 index 0000000000..994999bf6f --- /dev/null +++ b/test/fixedbugs/issue8079.go @@ -0,0 +1,11 @@ +// compile + +// Copyright 2014 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. + +// Issue 8079: gccgo crashes when compiling interface with blank type name. + +package p + +type _ interface{}