shithub: scc

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