xref: /illumos-gate/usr/src/tools/smatch/src/validation/anon-union.c (revision a629ded1d7b2e67c2028ccbc5ba9099328cc4e1b)
1 struct s {
2         union {
3                 int val;
4         };
5 };
6 
7 static struct s foo = { .val = 5, };
8 /*
9  * check-name: test anonymous union initializer
10  */
11 
12