xref: /illumos-gate/usr/src/tools/smatch/src/validation/old-initializer-nowarn.c (revision 2a1fd0ffe121888d44fdec321c25b53dcfaa9118)
1 struct s {
2 	int i;
3 };
4 
5 static struct s the_s = { i: 1 };
6 /*
7  * check-name: Old initializer with -Wno-old-initializer
8  * check-command: sparse -Wno-old-initializer
9  */
10