• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

test_array(int i)1 int test_array(int i)
2 {
3 	static const int a[3] = { [0] = 1, [2] = 3, };
4 
5 	return a[1];
6 }
7 
8 /*
9  * check-name: default-init-array
10  * check-command: test-linearize -Wno-decl -fdump-ir $file
11  * check-known-to-fail
12  *
13  * check-output-ignore
14  * check-output-contains: phisrc\\..*return.*\\$0
15  * check-output-excludes: load\\.
16  */
17