1struct ctype { 2 int type; 3}; 4 5struct symbol { 6 void *p; 7 const char *name; 8 struct ctype ctype; 9 struct symbol *next_id; 10}; 11 12struct unnamed { 13 struct { int x, y; }; 14}; 15 16static struct symbol sym; 17static struct symbol *sym_p; 18static struct symbol *sym_q = &sym; 19 20static struct unnamed un; 21 22/* 23 * check-name: Struct code generation 24 * check-command: sparsec -c $file -o tmp.o 25 */ 26