diff options
Diffstat (limited to 'validation/optim/and-or-bfx.c')
| -rw-r--r-- | validation/optim/and-or-bfx.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/validation/optim/and-or-bfx.c b/validation/optim/and-or-bfx.c new file mode 100644 index 00000000..ed04e2d3 --- /dev/null +++ b/validation/optim/and-or-bfx.c @@ -0,0 +1,19 @@ +struct s { + int f:3; +}; + +void foo(struct s *p, int a, int b) +{ + p->f = a; + p->f = b; +} + +/* + * check-name: and-or-bfx + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-pattern(2): and\\. + * check-output-pattern(1): or\\. + */ |
