aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-replace-local.c
blob: 8b93ef2f979350b9f53c3a62d5c46cef076f7501 (plain)
1
2
3
4
5
6
7
8
9
10
void f(void) {
	struct {
		char s[6];
	} x = {
		.s[0] = 'x',
		.s[4] = 'y',
		.s = "hello",
		.s[1] = 'a',
	};
}