Skip to content

Commit dc37bd2

Browse files
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 <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Than McIntosh <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 898f9db commit dc37bd2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Issue 33871.
2+
3+
cd m/a.0
4+
go build
5+
6+
-- m/go.mod --
7+
module m
8+
-- m/a.0/a.go --
9+
package a
10+
11+
type T int
12+
13+
func (t T) M() int {
14+
return int(t)
15+
}

0 commit comments

Comments
 (0)