xref: /netbsd-src/tests/usr.bin/xlint/lint1/lex_utf8.c (revision 661078afe6d0f04dc2d522ffea79d4d67812ab87)
1 /*	$NetBSD: lex_utf8.c,v 1.3 2024/02/03 10:56:18 rillig Exp $	*/
2 # 3 "lex_utf8.c"
3 
4 /*
5  * Test lexing of multibyte characters and strings in a UTF-8 locale.
6  *
7  * See also:
8  *	lex_wide_string.c	(runs in the C locale)
9  */
10 
11 /* expect+1: error: negative array dimension (-3) [20] */
12 typedef int mblen[-(int)(sizeof(L"Ä��") / sizeof(L""))];
13