mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Revert "[MIGRATED] Delete .\chk\chk.cpp"
This reverts commit 268e8cba57
.
This commit is contained in:
23
chk/chk.cpp
Normal file
23
chk/chk.cpp
Normal 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;
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user