1 /* $NetBSD: msg_154.c,v 1.5 2022/06/22 19:23:18 rillig Exp $ */ 2 # 3 "msg_154.c" 3 4 // Test for message: illegal combination of %s '%s' and %s '%s', arg #%d [154] 5 6 void sink_int(int); 7 8 void 9 example(int *ptr) 10 { 11 /* expect+1: warning: illegal combination of integer 'int' and pointer 'pointer to int', arg #1 [154] */ 12 sink_int(ptr); 13 } 14