shithub: scc

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