File: test-source.c

package info (click to toggle)
kcov 43%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,600 kB
  • sloc: cpp: 12,617; ansic: 2,379; python: 2,001; sh: 333; makefile: 133; javascript: 65; xml: 7; asm: 4
file content (20 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Small dummy test program to keep the addresses few!
int kalle(int a, int b)
{
	if (a == 15)
		return 1;

	// Should be two blocks
	if (a == 10 && b == 19)
		return 2;

	return 0;
}

void _start(int a, int b)
{
	if (kalle(a, b))
		return;

	kalle(9, 5);
}