summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/export_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/export_test.c')
-rw-r--r--src/pkg/runtime/export_test.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pkg/runtime/export_test.c b/src/pkg/runtime/export_test.c
new file mode 100644
index 000000000..5ad1a7007
--- /dev/null
+++ b/src/pkg/runtime/export_test.c
@@ -0,0 +1,13 @@
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "runtime.h"
+#include "arch_GOARCH.h"
+
+void
+·GogoBytes(int32 x)
+{
+ x = RuntimeGogoBytes;
+ FLUSH(&x);
+}