scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#include <assert.h>
 2#include <errno.h>
 3#include <stdio.h>
 4#include <string.h>
 5
 6/*
 7output:
 8testing
 9test1
10done
11end:
12*/
13
14void
15test1(void)
16{
17	printf("test1\n");
18	if (!strerror(EDOM))
19		printf("invalid EDOM string\n");
20	if (!strerror(ERANGE))
21		printf("invalid ERANGE string\n");
22	if (!strerror(EILSEQ))
23		printf("invalid EILSEQ string\n");
24}
25
26int
27main()
28{
29	printf("testing\n");
30	test1();
31	printf("done\n");
32
33	return 0;
34}