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