1 /* $NetBSD: msg_221.c,v 1.6 2023/03/28 14:44:35 rillig Exp $ */ 2 # 3 "msg_221.c" 3 4 // Test for message: initialization of unsigned with negative constant [221] 5 6 /* lint1-extra-flags: -X 351 */ 7 8 struct example { 9 unsigned int a: 5; 10 unsigned int b: 5; 11 } example_var = { 12 /* expect+1: warning: initialization of unsigned with negative constant [221] */ 13 -1, 14 31 15 }; 16