aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-10-15 13:46:57 -0400
committerRuss Cox <rsc@golang.org>2013-10-15 13:46:57 -0400
commit94bd34fe50a7ea7e913b58b3a278fc8dc36db1b3 (patch)
tree859baac77144756e5609d5490429cd535e962970
parent56aeec31c6ea439188d1800b1167b193b7bfd14a (diff)
downloadgo-94bd34fe50a7ea7e913b58b3a278fc8dc36db1b3.tar.gz
go-94bd34fe50a7ea7e913b58b3a278fc8dc36db1b3.zip
misc/cgo/test: fix build (define prototype for alloca)
TBR=golang-dev CC=golang-dev https://golang.org/cl/14454063
-rw-r--r--misc/cgo/test/issue6506.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/test/issue6506.go b/misc/cgo/test/issue6506.go
index e2a733206e..5c1d2a864b 100644
--- a/misc/cgo/test/issue6506.go
+++ b/misc/cgo/test/issue6506.go
@@ -16,6 +16,7 @@ package cgotest
// One of the great things about this bug is that even with these prototypes
// clang still generates the wrong debug information.
+void *alloca(size_t);
void bzero(void*, size_t);
int bcmp(const void*, const void*, size_t);
int strncasecmp(const char*, const char*, size_t n);