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