Files
graphene/LibOS/shim/test/regression/debug.c
2020-10-13 01:56:27 +02:00

14 lines
264 B
C

#include <stdio.h>
__attribute__((noinline)) static void func(void) {
printf("hello\n");
fflush(stdout);
/* Prevent tail call, so that we get a stack trace including func(). */
__asm__ volatile("");
}
int main(void) {
func();
return 0;
}