xref: /netbsd-src/tests/usr.bin/xlint/lint1/lex_utf8.c (revision 8e33eff89e26cf71871ead62f0d5063e1313c33a)
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