wasmer/lib/emscripten/emtests/clock_gettime.c
2019-01-10 21:38:10 -08:00

11 lines
290 B
C
Vendored

#include <stdio.h>
#include <time.h>
// a simple program that simply calls clock_gettime
// not easy to unit test because of non-determinism and so compilation is enough for now
int main () {
struct timespec tp;
clock_gettime(CLOCK_REALTIME, &tp);
printf("clock_gettime\n");
}