Revert "[MIGRATED] Delete .\chk\chk.cpp"

This reverts commit 268e8cba57.
This commit is contained in:
aybe
2020-10-17 02:08:50 +02:00
parent 333ef8dd8c
commit 539260f397

23
chk/chk.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include <stdio.h>
void __attribute__((noinline)) func1(int arg1) {
int stuff1 = 3,stuff4 = 4;
printf("%u/%u/%u\n",stuff1,stuff4,arg1);
}
int main() {
int alloc1 = 2,alloc2 = 4;
printf("%u/%u\n",alloc1,alloc2);
{
int alloc3 = 22,alloc4 = 44;
printf("%u/%u\n",alloc3,alloc4);
}
func1(99);
return 0;
}