ciabatta/test/alloca.c

11 lines
185 B
C
Raw Permalink Normal View History

2022-08-08 12:39:43 +00:00
#include <stdio.h>
#include <stdint.h>
int main() {
uint8_t *sp = _alloca(512);
for(int i = 0; i != 550; ++i) {
sp[i] = 0;
}
printf("%p\n", sp);
return 0;
}