msg_064.c revision 1.3
11.3Srillig/* $NetBSD: msg_064.c,v 1.3 2021/07/12 18:00:36 rillig Exp $ */ 21.1Srillig# 3 "msg_064.c" 31.1Srillig 41.1Srillig// Test for message: ()-less function definition [64] 51.1Srillig 61.3Srilligtypedef int (function)(void); 71.3Srillig 81.3Srillig/* 91.3Srillig * Even though typedef_function has type function, this construction is not 101.3Srillig * allowed. A function definition must always look like a function 111.3Srillig * definition, and that includes the parentheses for the arguments or 121.3Srillig * parameters. 131.3Srillig */ 141.3Srilligfunction typedef_function { 151.3Srillig /* expect-1: error: ()-less function definition [64] */ 161.3Srillig} 17