summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue5105.go
diff options
context:
space:
mode:
authorR?my Oudompheng <oudomphe@phare.normalesup.org>2013-03-25 22:09:55 +0100
committerR?my Oudompheng <oudomphe@phare.normalesup.org>2013-03-25 22:09:55 +0100
commit9928dd60b133a798f8975591ac5f077f65b43284 (patch)
treea29aad88aff45d13840a2f76c5e02e1aa4c5b612 /test/fixedbugs/issue5105.go
parentaf5080721f9bc16d05fbbd2fc43302024c023fdf (diff)
downloadgo-9928dd60b133a798f8975591ac5f077f65b43284.tar.gz
cmd/5l, cmd/6l, cmd/8l: fix segfault on reading LOCALS for a duplicate definition.
Fixes issue 5105. R=golang-dev, dave, daniel.morsing, rsc CC=golang-dev https://codereview.appspot.com/7965043
Diffstat (limited to 'test/fixedbugs/issue5105.go')
-rw-r--r--test/fixedbugs/issue5105.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixedbugs/issue5105.go b/test/fixedbugs/issue5105.go
new file mode 100644
index 000000000..e3e5e5caa
--- /dev/null
+++ b/test/fixedbugs/issue5105.go
@@ -0,0 +1,10 @@
+// rundir
+
+// Copyright 2013 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 5105: linker segfaults on duplicate definition
+// of a type..hash.* function.
+
+package ignored