1*c85f09ccSJohn Levon int fun(int); 2*c85f09ccSJohn Levon foo(int a,int b,int c)3*c85f09ccSJohn Levonint foo(int a, int b, int c) 4*c85f09ccSJohn Levon { 5*c85f09ccSJohn Levon return a ? fun(b) : fun(c); 6*c85f09ccSJohn Levon } 7*c85f09ccSJohn Levon 8*c85f09ccSJohn Levon /* 9*c85f09ccSJohn Levon * check-name: cond-expr 10*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl -fdump-ir=mem2reg $file 11*c85f09ccSJohn Levon * check-output-ignore 12*c85f09ccSJohn Levon * check-output-pattern(2): phi\\. 13*c85f09ccSJohn Levon * check-output-pattern(3): phisrc\\. 14*c85f09ccSJohn Levon */ 15