scc

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

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

 1/*
 2PATTERN:
 30039-struct.c:11: warning: type defaults to 'int' in declaration
 40039-struct.c:11: warning: empty declaration
 50039-struct.c:11: error: expected ';' before '}'
 60039-struct.c:19: warning: 'cap' defined but not used
 70039-struct.c:19: warning: 'v' defined but not used
 8.
 9*/
10
11typedef struct  { } Vec;
12
13static void
14vecresize(Vec *v, int cap)
15{
16	return;
17}
18
19int main()
20{
21	return 0;
22}