mirror of
https://github.com/clearlinux/graphene.git
synced 2026-05-13 10:33:40 +00:00
14 lines
264 B
C
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;
|
|
}
|