1 /* $NetBSD: msg_110.c,v 1.3 2021/07/25 10:26:46 rillig Exp $ */ 2 # 3 "msg_110.c" 3 4 // Test for message: pointer to function is not allowed here [110] 5 6 /* ARGSUSED */ 7 void 8 call_take(int (*ptr)(int)) 9 { 10 /* expect+1: error: pointer to function is not allowed here [110] */ 11 ptr++; 12 13 /* expect+1: error: pointer to function is not allowed here [110] */ 14 ptr + 1; 15 } 16