File: test-source.c

package info (click to toggle)
kcov 11-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 464 kB
  • ctags: 526
  • sloc: cpp: 3,542; ansic: 770; python: 58; makefile: 41
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);
}