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