1 /* $NetBSD: msg_334.c,v 1.1 2021/01/14 22:18:14 rillig Exp $ */ 2 # 3 "msg_334.c" 3 4 // Test for message: argument #%d expects '%s', gets passed '%s' [334] 5 // 6 // See d_c99_bool_strict.c for many more examples. 7 8 /* lint1-extra-flags: -T */ 9 10 typedef _Bool bool; 11 12 void 13 test_bool(bool); 14 void 15 test_int(int); 16 17 void 18 caller(bool b, int i) 19 { 20 test_bool(b); 21 test_bool(i); /* expect: 334 */ 22 test_int(b); /* expect: 334 */ 23 test_int(i); 24 } 25