msg_174.c revision 1.3
1/*	$NetBSD: msg_174.c,v 1.3 2021/01/31 11:12:07 rillig Exp $	*/
2# 3 "msg_174.c"
3
4// Test for message: too many initializers [174]
5
6void
7example(void)
8{
9	/* A single pair of braces is always allowed. */
10	int n = { 13 };
11
12	int too_many = { 17, 19 };	/* expect: 174 */
13
14	/* XXX: Double-check with C99, this might be allowed. */
15	int too_few = {};
16}
17