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 <string.h>
 4
 5/*
 6output:
 7testing
 8done
 9end:
10*/
11
12int
13main()
14{
15	puts("testing");
16
17	assert(strcspn("0125", "56789") == 3);
18	assert(strcspn("", "56789") == 0);
19	assert(strcspn("01234", "") == 5);
20	assert(strcspn("", "") == 0);
21
22	puts("done");
23
24	return 0;
25}