xref: /illumos-gate/usr/src/tools/smatch/src/validation/backend/union.c (revision 856f710c9dc323b39da5935194d7928ffb99b67f)
1 union foo {
2 	unsigned long		x;
3 	unsigned char		y;
4 	char			buf[128];
5 };
6 
7 static union foo foo;
8 
9 /*
10  * check-name: Union code generation
11  * check-command: sparsec -c $file -o tmp.o
12  */
13