shithub: scc

ref: efda45c11a438f0a83f57f55b34abb812f32cd53
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;
}