summaryrefslogtreecommitdiff
path: root/ret.c
blob: f49a3d4e5b8c59742083db5ec425c2eefae69e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <u.h>
#include <libc.h>

int
ret(void)
{
	if(2 > 3)
		return 2;
	else
		exits("error");
	return -1;
}

void
main()
{
	ret();
	exits(0);
}