msg_188.c revision 1.4
1/*	$NetBSD: msg_188.c,v 1.4 2022/06/16 16:58:36 rillig Exp $	*/
2# 3 "msg_188.c"
3
4/* Test for message: no automatic aggregate initialization in traditional C [188] */
5
6/* lint1-flags: -tw */
7
8struct point {
9	int x;
10	int y;
11};
12
13struct point global = {
14	3,
15	4,
16};
17
18void
19function()
20{
21	/* expect+1: warning: no automatic aggregate initialization in traditional C [188] */
22	struct point local = {
23		3,
24		4,
25	};
26}
27