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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/cgo/test/backdoor/runtime.c b/misc/cgo/test/backdoor/runtime.c
index 54e6a1ef8..194a9c8e4 100644
--- a/misc/cgo/test/backdoor/runtime.c
+++ b/misc/cgo/test/backdoor/runtime.c
@@ -6,6 +6,8 @@
// Must be in a non-cgo-using package so that
// the go command compiles this file with 6c, not gcc.
+// +build gc
+
typedef char bool;
bool runtime·lockedOSThread(void);