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