blob: 1ebd6f3539bc0449cfbe3a6284bc081f8e8b8245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* $NetBSD: token_string_prefix.c,v 1.2 2021/10/22 19:46:41 rillig Exp $ */
/* $FreeBSD$ */
/*
* Tests for strings of wide characters, which are prefixed with 'L'.
*
* See FreeBSD r309220.
*/
#indent input
wchar_t wide_string[] = L"wide string";
#indent end
/*
* Regardless of the line length, the 'L' must never be separated from the
* string literal.
*/
#indent run-equals-input -di0
#indent run-equals-input -di0 -l25
#indent run-equals-input -di0 -l1
#indent input
wchar_t wide_char[] = L'w';
#indent end
#indent run-equals-input -di0
|