msg_188.c revision 1.3
1/* $NetBSD: msg_188.c,v 1.3 2021/03/28 15:12:20 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 struct point local = { /* expect: 188 */ 22 3, 23 4, 24 }; 25} 26