File: chk.cpp

package info (click to toggle)
dosbox-x 2025.12.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,224 kB
  • sloc: cpp: 339,768; ansic: 165,257; sh: 1,455; makefile: 963; perl: 385; python: 106; asm: 57
file content (23 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}