1 /* $NetBSD: msg_107.c,v 1.3 2022/06/16 16:58:36 rillig Exp $ */ 2 # 3 "msg_107.c" 3 4 // Test for message: operands of '%s' have incompatible types (%s != %s) [107] 5 6 /* ARGSUSED */ 7 void 8 compare(double d, void *ptr) 9 { 10 /* expect+1: error: operands of '==' have incompatible types (double != pointer) [107] */ 11 return d == ptr; 12 } 13