/* $NetBSD: msg_310.c,v 1.5 2023/07/09 11:18:55 rillig Exp $ */ # 3 "msg_310.c" // Test for message: symbol renaming can't be used on function arguments [310] /* lint1-extra-flags: -X 351 */ /* expect+2: warning: parameter 'callback' unused in function 'function' [231] */ void function(int (*callback)(void) __symbolrename(argument)) { } /* expect+1: error: syntax error ':' [249] */ TODO: "Add example code that triggers the above message." TODO: "Add example code that almost triggers the above message."