extra: small fix for when the database is disabled but we have inline info
[smatch.git] / validation / backend / struct.c
blob1afaf2dbef4393011280d8c03d38e1548b4667ca
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 static struct symbol sym;
13 static struct symbol *sym_p;
14 static struct symbol *sym_q = &sym;
17 * check-name: Struct code generation
18 * check-command: ./sparsec -c $file -o tmp.o