aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-replace-local-string-wide.c
blob: 366020fbf4e4c99dbc088ef150c0645ebdbd023b (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',
	};
}