aboutsummaryrefslogtreecommitdiff
path: root/tests/core/cgo/race_off.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/cgo/race_off.c')
-rw-r--r--tests/core/cgo/race_off.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/core/cgo/race_off.c b/tests/core/cgo/race_off.c
new file mode 100644
index 00000000..f752c63c
--- /dev/null
+++ b/tests/core/cgo/race_off.c
@@ -0,0 +1,3 @@
+// +build !race
+
+int race_enabled = 0;