diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-07-07 17:43:15 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-07-07 17:47:32 -0700 |
commit | dfae95bffdbc3e22467bc7e64e75672c963d65e5 (patch) | |
tree | fa5cd0325565f4ddb2b84776500ad84534e407d8 /system/lib/test.cpp | |
parent | f7c5bc2c24e489b7bc01179011f132fc265a713c (diff) |
add helper script to build libcxx natively
Diffstat (limited to 'system/lib/test.cpp')
-rw-r--r-- | system/lib/test.cpp | 14 |
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"); +} +*/ + |