1 /* $NetBSD: msg_239.c,v 1.5 2021/04/05 01:35:34 rillig Exp $ */ 2 # 3 "msg_239.c" 3 4 // Test for message: constant argument to '!' [239] 5 6 /* lint1-extra-flags: -h */ 7 8 _Bool 9 example(int n) 10 { 11 _Bool b; 12 13 b = !0; /* expect: constant in conditional context *//* expect: 239 */ 14 b = !1; /* expect: constant in conditional context *//* expect: 239 */ 15 b = !(n > 1); 16 17 return b; 18 } 19