msg_313.c revision 1.5
1/*	$NetBSD: msg_313.c,v 1.5 2023/03/28 14:44:35 rillig Exp $	*/
2# 3 "msg_313.c"
3
4/* Test for message: struct or union member name in initializer is a C99 feature [313] */
5
6/* lint1-flags: -sw -X 351 */
7
8struct point {
9	int x, y;
10} p = {
11	/* expect+1: warning: struct or union member name in initializer is a C99 feature [313] */
12	.x = 3,
13	/* expect+1: warning: struct or union member name in initializer is a C99 feature [313] */
14	.y = 4,
15};
16