shithub: scc

ref: d95c5300d65d7416a1b0d31d34d648c6a1a70373
dir: /tests/libc/execute/0034-errno.c/

View raw version
#include <assert.h>
#include <errno.h>
#include <stdio.h>

/*
output:
testing
done
end:
*/

int
main()
{
	puts("testing");
	assert(errno == 0);
	assert(ERANGE != EDOM);
	assert(ERANGE > 0);
	assert(EDOM > 0);
	puts("done");

	return 0;
}