Index: misc/cgo/testshared/mainmult.c |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/misc/cgo/testshared/mainmult.c |
@@ -0,0 +1,14 @@ |
+// 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 <stdio.h> |
+ |
+extern int Go_callback(void); |
+extern int Go_callback2(void); |
+ |
+int main() { |
+ Go_callback(); |
+ Go_callback2(); |
+ return 0; |
+} |