summaryrefslogtreecommitdiff
path: root/util/romcc/tests/linux_test6.c
blob: f93ab9273d5dfd145fbf0a42c07707d403c82e47 (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\r\n");
		str = "Unbuffered\r\n";
	} else {
		print_debug("B\r\n");
		str = "Registered\r\n";
	}
	print_debug(str);
	_exit(0);
}