summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/btrace/boolean.bt
blob: 41f02f4521d8a8b2348f49c640d93913935189e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN
{
	@a = 8;
	@b = 1;

	printf("a & b = %d\n", @a & @b);
	printf("a | b = %d\n", @a | @b);
}

END
{
	printf("a && b = %d\n", @a && @b);
	printf("a || b = %d\n", @a || @b);
}