From 539260f397ee44e6bd7a9f64f6a24e4d59208638 Mon Sep 17 00:00:00 2001 From: aybe Date: Sat, 17 Oct 2020 02:08:50 +0200 Subject: [PATCH] Revert "[MIGRATED] Delete .\chk\chk.cpp" This reverts commit 268e8cba57adc105bd724e7df3924a89b2397a28. --- chk/chk.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 chk/chk.cpp diff --git a/chk/chk.cpp b/chk/chk.cpp new file mode 100644 index 000000000..622294430 --- /dev/null +++ b/chk/chk.cpp @@ -0,0 +1,23 @@ + +#include + +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; +} +