summaryrefslogtreecommitdiff
path: root/misc/cgo
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
commit476c485a3b1dca679521f6f8b83d8273b1d742fd (patch)
tree2191ebdce6588db16aefdbda2e90a6c05f5412ca /misc/cgo
parentb966f7f8b8a09f0ce55458ba6030fc021cb2eb93 (diff)
downloadgo-476c485a3b1dca679521f6f8b83d8273b1d742fd.tar.gz
misc/cgo/test: fix build (define prototype for alloca)
TBR=golang-dev CC=golang-dev https://codereview.appspot.com/14454063
Diffstat (limited to 'misc/cgo')
-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 e2a733206..5c1d2a864 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);