xref: /illumos-gate/usr/src/tools/smatch/src/validation/inline_compound_literals.c (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
1 struct foo {
2 	int x;
3 };
4 
5 static inline void baz(void)
6 {
7 	(struct foo) { .x = 0 };
8 }
9 
10 static void barf(void)
11 {
12 	baz();
13 }
14 
15 static void foo(void)
16 {
17 	baz();
18 }
19 
20 /*
21  * check-name: inline compound literals
22  */
23