xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_221.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_221.c,v 1.4 2021/02/22 15:09:50 rillig Exp $	*/
2 # 3 "msg_221.c"
3 
4 // Test for message: initialization of unsigned with negative constant [221]
5 
6 struct example {
7 	unsigned int a: 5;
8 	unsigned int b: 5;
9 } example_var = {
10     -1,				/* expect: 221 */
11     31
12 };
13