1*039b0100Srillig /* $NetBSD: msg_064.c,v 1.4 2023/08/02 18:51:25 rillig Exp $ */ 2a0a15c14Srillig # 3 "msg_064.c" 3a0a15c14Srillig 4a0a15c14Srillig // Test for message: ()-less function definition [64] 5a0a15c14Srillig 64567bc76Srillig typedef int (function)(void); 74567bc76Srillig 84567bc76Srillig /* 94567bc76Srillig * Even though typedef_function has type function, this construction is not 104567bc76Srillig * allowed. A function definition must always look like a function 11*039b0100Srillig * definition, and that includes the parentheses for the parameters. 124567bc76Srillig */ 134567bc76Srillig function typedef_function { 144567bc76Srillig /* expect-1: error: ()-less function definition [64] */ 154567bc76Srillig } 16