1 /* $NetBSD: msg_310.c,v 1.3 2022/06/17 06:59:16 rillig Exp $ */ 2 # 3 "msg_310.c" 3 4 // Test for message: symbol renaming can't be used on function arguments [310] 5 6 /* expect+2: warning: argument 'callback' unused in function 'function' [231] */ 7 void 8 function(int (*callback)(void) __symbolrename(argument)) 9 { 10 } 11 12 /* expect+1: error: syntax error ':' [249] */ 13 TODO: "Add example code that triggers the above message." 14 TODO: "Add example code that almost triggers the above message." 15