summaryrefslogtreecommitdiff
path: root/util/romcc/tests/linux_test6.c
blob: 2ae6cd1c9aa57a4185f65d59b85b6a54796ccea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "linux_syscall.h"
#include "linux_console.h"

static void main(void)
{
	static const int value[] = { 1, 0 };
	const char *str;
	if (value[1]) {
		print_debug("A\n");
		str = "Unbuffered\n";
	} else {
		print_debug("B\n");
		str = "Registered\n";
	}
	print_debug(str);
	_exit(0);
}