aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/backend/struct.c
blob: ef7d0d7ed3a6720b0af1d091707e2e2ebafeb12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct ctype {
	int			type;
};

struct symbol {
	void			*p;
	const char		*name;
	struct ctype		ctype;
};

static struct symbol sym;
static struct symbol *sym_p;

/*
 * check-name: Struct code generation
 * check-command: ./sparsec -c $file -o tmp.o
 */