Skip to content

Commit

Permalink
misc/cgo/test: disable issue 8428 regress test on darwin
Browse files Browse the repository at this point in the history
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 golang#8611.

LGTM=rsc
R=r, rsc, minux
CC=golang-codereviews
https://golang.org/cl/135990043
  • Loading branch information
mdempsky authored and wheatman committed Jun 21, 2018
1 parent 8398a31 commit 2c5cc15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misc/cgo/test/issue8428.go
Expand Up @@ -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.
Expand Down

0 comments on commit 2c5cc15

Please sign in to comment.