1*c85f09ccSJohn Levon struct s { 2*c85f09ccSJohn Levon unsigned i:1; 3*c85f09ccSJohn Levon }; 4*c85f09ccSJohn Levon foo(struct s x)5*c85f09ccSJohn Levonint foo(struct s x) 6*c85f09ccSJohn Levon { 7*c85f09ccSJohn Levon unsigned int i = x.i; 8*c85f09ccSJohn Levon 9*c85f09ccSJohn Levon if (i == 0) 10*c85f09ccSJohn Levon return 1; 11*c85f09ccSJohn Levon else if (i == 1) 12*c85f09ccSJohn Levon return 1; 13*c85f09ccSJohn Levon return 0; 14*c85f09ccSJohn Levon } 15*c85f09ccSJohn Levon 16*c85f09ccSJohn Levon /* 17*c85f09ccSJohn Levon * check-name: mask1-setne0 18*c85f09ccSJohn Levon * check-command: test-linearize -Wno-decl $file 19*c85f09ccSJohn Levon * 20*c85f09ccSJohn Levon * check-output-start 21*c85f09ccSJohn Levon foo: 22*c85f09ccSJohn Levon .L0: 23*c85f09ccSJohn Levon <entry-point> 24*c85f09ccSJohn Levon ret.32 $1 25*c85f09ccSJohn Levon 26*c85f09ccSJohn Levon 27*c85f09ccSJohn Levon * check-output-end 28*c85f09ccSJohn Levon */ 29