1/* $NetBSD: msg_126.c,v 1.2 2021/01/08 21:25:03 rillig Exp $ */ 2# 3 "msg_126.c" 3 4// Test for message: incompatible types in conditional [126] 5 6int 7max(int cond, void *ptr, double dbl) 8{ 9 return cond ? ptr : dbl; 10} 11