1 static const char messg[] = "def"; 2 3 static inline int add(int a, int b) 4 { 5 return a + b; 6 } 7 8 int foo(int a, int b, int p) 9 { 10 if (p) { 11 add(a + b, 1); 12 return p; 13 } 14 return 0; 15 } 16 17 /* 18 * check-name: call-inlined 19 * check-command: test-linearize -Wno-decl $file 20 * 21 * check-output-start 22 foo: 23 .L0: 24 <entry-point> 25 select.32 %r10 <- %arg3, %arg3, $0 26 ret.32 %r10 27 28 29 * check-output-end 30 */