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