aboutsummaryrefslogtreecommitdiff
path: root/system/lib/test.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-07-07 17:43:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-07-07 17:47:32 -0700
commitdfae95bffdbc3e22467bc7e64e75672c963d65e5 (patch)
treefa5cd0325565f4ddb2b84776500ad84534e407d8 /system/lib/test.cpp
parentf7c5bc2c24e489b7bc01179011f132fc265a713c (diff)
add helper script to build libcxx natively
Diffstat (limited to 'system/lib/test.cpp')
-rw-r--r--system/lib/test.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/lib/test.cpp b/system/lib/test.cpp
new file mode 100644
index 00000000..653f9cc7
--- /dev/null
+++ b/system/lib/test.cpp
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <time.h>
+
+int clock_gettime(clockid_t clk_id, struct timespec *tp) {
+ printf("BAD\n");
+ return 0;
+}
+
+/*
+int main() {
+ printf("ok\n");
+}
+*/
+