summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2014-08-28 22:40:57 -0400
committerMatthew Dempsky <mdempsky@google.com>2014-08-28 22:40:57 -0400
commit525e0aa384e6a72aca65aeca4d23bbcedcde90aa (patch)
tree33845d63c7331395436b893428d675f51727b81c /misc
parent9cc88ff98476be4881ec6c148c46815ae76fa949 (diff)
downloadgo-525e0aa384e6a72aca65aeca4d23bbcedcde90aa.tar.gz
misc/cgo/test: disable issue 8428 regress test on darwin
Clang 3.2 and older (as shipped with OS X Mountain Lion and older) outputs ambiguous DWARF debug info that makes it impossible for us to reconstruct accurate type information as required for this test. Fixes issue 8611. LGTM=rsc R=r, rsc, minux CC=golang-codereviews https://codereview.appspot.com/135990043 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/test/issue8428.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/cgo/test/issue8428.go b/misc/cgo/test/issue8428.go
index f5b0ee497..a3dc5755c 100644
--- a/misc/cgo/test/issue8428.go
+++ b/misc/cgo/test/issue8428.go
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// This test fails on older versions of OS X because they use older buggy
+// versions of Clang that emit ambiguous DWARF info. See issue 8611.
+// +build !darwin
+
package cgotest
// Issue 8428. Cgo inconsistently translated zero size arrays.