aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/expand/constant-init-string.c
blob: 42ae9bd3d8a4888b43f97523b58d03992572eb42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
char foo(void)
{
	static const char s[] = "abc?";
	return s[3];
}

/*
 * check-name: constant-init-nested-array
 * check-command: test-linearize -Wno-decl -fdump-ir $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: phisrc\\..*\\$63
 * check-output-pattern(0,1): load\\.
 */