shithub: scc

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