1/* $NetBSD: msg_172.c,v 1.5 2023/03/28 14:44:35 rillig Exp $ */ 2# 3 "msg_172.c" 3 4// Test for message: too many struct/union initializers [172] 5 6/* lint1-extra-flags: -X 351 */ 7 8struct color { 9 unsigned int red: 8; 10 unsigned int green: 8; 11 unsigned int blue: 8; 12}; 13 14/* expect+1: error: too many struct/union initializers [172] */ 15struct color white = { 255, 255, 255, 255 }; 16