summaryrefslogtreecommitdiff
path: root/misc/cgo/testcdefs/cdefstest.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-08-31 22:59:43 -0400
committerIan Lance Taylor <iant@golang.org>2014-08-31 22:59:43 -0400
commit027a13591266140b2fdae0cf8d7e530ce075169e (patch)
tree4246d38c60ac2555a2da1d746cdff75ceda4cdc5 /misc/cgo/testcdefs/cdefstest.go
parenta564350b3dcfd480034780da11487c4456809429 (diff)
downloadgo-027a13591266140b2fdae0cf8d7e530ce075169e.tar.gz
misc/cgo/testcdefs: comment out test of packed structs
The [568]c compilers no longer support packed structs, so using them with -cdefs no longer works. Just commenting out the test, rather than removing it, in case this needs to be handled. It may be that -cdefs can go away entirely in the future, in which case so can this directory. LGTM=mdempsky R=rsc, mdempsky CC=golang-codereviews https://codereview.appspot.com/136030043 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'misc/cgo/testcdefs/cdefstest.go')
-rw-r--r--misc/cgo/testcdefs/cdefstest.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/cgo/testcdefs/cdefstest.go b/misc/cgo/testcdefs/cdefstest.go
index 0804083a0..5e613c79e 100644
--- a/misc/cgo/testcdefs/cdefstest.go
+++ b/misc/cgo/testcdefs/cdefstest.go
@@ -56,4 +56,5 @@ typedef struct timespec {
import "C"
type CdefsTest C.struct_cdefsTest
-type PackedTest C.struct_packedTest
+
+//type PackedTest C.struct_packedTest