aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_function.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-03 12:03:48 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-03-03 12:03:48 -0800
commitd6cff2177ec065aa14f228ab547abc29ef37b248 (patch)
tree285c3d737500e8a3ed6be56dcaf9357ffd5c7cd9 /tests/hello_function.cpp
parentdfd9488e0094a6b5433b406517338e0f757c1e27 (diff)
parent6f57ea8f0eeb220fc81726b4e3a3c02f4232b667 (diff)
Merge branch 'master' into llvmsvn
Diffstat (limited to 'tests/hello_function.cpp')
-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);
+}
+
+}
+