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 <stdio.h>
 3#include <wchar.h>
 4
 5/*
 6output:
 7testing
 8done
 9end:
10*/
11
12int
13main(void)
14{
15	puts("testing");
16	assert(btowc('a') == 'a');
17	assert(btowc(EOF) == -1);
18	assert(btowc('\x99') == -1);
19	puts("done");
20
21	return 0;
22}