1 /* $NetBSD: msg_126.c,v 1.5 2021/04/05 01:35:34 rillig Exp $ */ 2 # 3 "msg_126.c" 3 4 // Test for message: incompatible types '%s' and '%s' in conditional [126] 5 6 int 7 max(int cond, void *ptr, double dbl) /* expect: 231 *//* expect: 231 *//* expect: 231 */ 8 { 9 return cond ? ptr : dbl; /* expect: 126 *//* expect: 214 */ 10 } 11