xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_157.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_157.c,v 1.4 2022/04/19 22:14:30 rillig Exp $	*/
2 # 3 "msg_157.c"
3 
4 /* Test for message: ANSI C treats constant as unsigned [157] */
5 
6 /* lint1-flags: -w */
7 
8 /*
9  * A rather strange definition for an ARGB color.
10  * Luckily, 'double' has more than 32 significant binary digits.
11  */
12 /* expect+1: warning: ANSI C treats constant as unsigned [157] */
13 double white = 0xFFFFFFFF;
14