xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_075.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_075.c,v 1.5 2023/01/22 16:05:08 rillig Exp $	*/
2 # 3 "msg_075.c"
3 
4 // Test for message: overflow in hex escape [75]
5 
6 /*
7  * See also:
8  *	lex_char.c
9  *	lex_char_uchar.c
10  *	lex_string.c
11  *	lex_wide_char.c
12  *	lex_wide_string.c
13  */
14 
15 /* expect+1: warning: overflow in hex escape [75] */
16 char str[] = "\x12345678123456781234567812345678";
17 
18 /* C11 6.4.4.4p7 */
19 char leading_zeroes = '\x0000000000000000000000000000020';
20