aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-replace-local-string-wide.c
blob: 760ee421a57db38bcd71795f6ebe1e9ae3ad8fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
void f(void) {
	struct {
		unsigned short u[6];
		unsigned U[6];
		typeof(L' ') L[6];
	} x = {
		.u[0] = u'x',
		.u[4] = u'y',
		.u = u"hello",
		.u[1] = u'a',

		.U[0] = U'x',
		.U[4] = U'y',
		.U = U"hello",
		.U[1] = U'a',

		.L[0] = L'x',
		.L[4] = L'y',
		.L = L"hello",
		.L[1] = L'a',
	};
}