aboutsummaryrefslogtreecommitdiff
path: root/tests/programs/bareexit.zc
blob: 905710ea319a31eb8de66cb6723f75fe520d3842 (plain) (blame)
1
2
3
4
5
6
7
// exit(3) must stop the machine before the next print.
fn main() {
	put_s("bye\n");
	syscall(7, 3, 0, 0);
	put_s("still\n");
	return 0;
}