summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/gccgo_mangle.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/go/testdata/script/gccgo_mangle.txt')
-rw-r--r--libgo/go/cmd/go/testdata/script/gccgo_mangle.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/testdata/script/gccgo_mangle.txt b/libgo/go/cmd/go/testdata/script/gccgo_mangle.txt
new file mode 100644
index 00000000000..7a09a8002ec
--- /dev/null
+++ b/libgo/go/cmd/go/testdata/script/gccgo_mangle.txt
@@ -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)
+}