summaryrefslogtreecommitdiff
path: root/misc/cgo/test/backdoor/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/backdoor/runtime.c')
-rw-r--r--misc/cgo/test/backdoor/runtime.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/cgo/test/backdoor/runtime.c b/misc/cgo/test/backdoor/runtime.c
index 194a9c8e4..7e6b44872 100644
--- a/misc/cgo/test/backdoor/runtime.c
+++ b/misc/cgo/test/backdoor/runtime.c
@@ -23,3 +23,10 @@ void
b = runtime·lockedOSThread();
FLUSH(&b);
}
+
+// This is what a cgo-compiled stub declaration looks like.
+void
+·Issue7695(struct{void *y[8*sizeof(void*)];}p)
+{
+ USED(p);
+}