1 /* $NetBSD: msg_221.c,v 1.7 2024/06/08 06:37:06 rillig Exp $ */ 2 # 3 "msg_221.c" 3 4 // Test for message: initialization of unsigned type '%s' with negative constant %lld [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 type 'unsigned int:5' with negative constant -1 [221] */ 13 -1, 14 31 15 }; 16