aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/hello_function.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hello_function.cpp b/tests/hello_function.cpp
new file mode 100644
index 00000000..6037109e
--- /dev/null
+++ b/tests/hello_function.cpp
@@ -0,0 +1,11 @@
+
+#include <math.h>
+
+extern "C" {
+
+int int_sqrt(int x) {
+ return sqrt(x);
+}
+
+}
+