msg_320.c revision 1.4
11.4Srillig/* $NetBSD: msg_320.c,v 1.4 2023/07/07 19:45:22 rillig Exp $ */ 21.1Srillig# 3 "msg_320.c" 31.1Srillig 41.1Srillig// Test for message: ({ }) is a GCC extension [320] 51.1Srillig 61.4Srillig/* lint1-flags: -Sw -X 351 */ 71.3Srillig 81.3Srilligint 91.3Srilligexample(void) 101.3Srillig{ 111.3Srillig return ({ 121.3Srillig int base = 10; 131.3Srillig int square = base * base; 141.3Srillig square * base; 151.3Srillig }); 161.3Srillig /* expect-1: warning: ({ }) is a GCC extension [320] */ 171.3Srillig} 18