implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / backend / struct.c
blob905339afb40c15b582bc29f67f2a364e601fed97
1 struct ctype {
2 int type;
3 };
5 struct symbol {
6 void *p;
7 const char *name;
8 struct ctype ctype;
9 struct symbol *next_id;
12 struct unnamed {
13 struct { int x, y; };
16 static struct symbol sym;
17 static struct symbol *sym_p;
18 static struct symbol *sym_q = &sym;
20 static struct unnamed un;
23 * check-name: Struct code generation
24 * check-command: ./sparsec -c $file -o tmp.o