1 /* $NetBSD: msg_229.c,v 1.5 2021/02/28 01:20:54 rillig Exp $ */ 2 # 3 "msg_229.c" 3 4 // Test for message: converting '%s' to '%s' is questionable [229] 5 6 typedef double (*unary_operator)(double); 7 8 int * 9 to_int_pointer(unary_operator op) 10 { 11 return (int *)op; /* expect: 229 */ 12 } 13 14 unary_operator 15 to_function_pointer(int *p) 16 { 17 return (unary_operator)p; /* expect: 229 */ 18 } 19