aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-string-wide.c
blob: 2a0971845842d18dacf2fec83f78db114866cafd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
char s[] = "aα€😀\xAA\xBBBB\xCCCCCCCC";
char u8[] = u8"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned short u[] = u"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned U[] = U"aα€😀\xAA\xBBBB\xCCCCCCCC";
typeof(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";

void f(void) {
	char s[] = "aα€😀\xAA\xBBBB\xCCCCCCCC";
	char u8[] = u8"aα€😀\xAA\xBBBB\xCCCCCCCC";
	unsigned short u[] = u"aα€😀\xAA\xBBBB\xCCCCCCCC";
	unsigned U[] = U"aα€😀\xAA\xBBBB\xCCCCCCCC";
	typeof(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";
}