1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:14:41 -07:00

cmd/go: add test for gccgo name mangling crash

Updates #33871

Change-Id: I73b1513a89ad89126159ce03ee72b922cd01916c
Reviewed-on: https://go-review.googlesource.com/c/go/+/200837
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Ian Lance Taylor 2019-10-11 15:35:49 -07:00
parent 898f9db81f
commit dc37bd2ac9

View File

@ -0,0 +1,15 @@
# Issue 33871.
cd m/a.0
go build
-- m/go.mod --
module m
-- m/a.0/a.go --
package a
type T int
func (t T) M() int {
return int(t)
}