1 struct s {
   2         unsigned int u:1;
   3 };
   4 
   5 unsigned int foo(struct s x)
   6 {
   7         if (x.u)
   8                 return 1;
   9         else
  10                 return 0;
  11 }
  12 
  13 /*
  14  * check-name: trunc-setne0
  15  * check-command: test-linearize -Wno-decl $file
  16  *
  17  * check-output-ignore
  18  * check-output-contains: and\\.
  19  * check-output-excludes: trunc\\.
  20  */