1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:44:39 -07:00

test: add bug426.go: a gccgo crash on valid code

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5715044
This commit is contained in:
Ian Lance Taylor 2012-02-29 21:51:21 -08:00
parent 1f0f459a16
commit 532c1b451b

15
test/fixedbugs/bug426.go Normal file
View File

@ -0,0 +1,15 @@
// compile
// 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.
// gccgo crashed compiling this.
package p
type T *T
func f(t T) {
println(t, *t)
}