diff options
Diffstat (limited to 'validation/optim/and-or-bf2.c')
| -rw-r--r-- | validation/optim/and-or-bf2.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/validation/optim/and-or-bf2.c b/validation/optim/and-or-bf2.c new file mode 100644 index 00000000..cccaa85b --- /dev/null +++ b/validation/optim/and-or-bf2.c @@ -0,0 +1,28 @@ +struct s { + char a:3; + char b:3; + char c:2; +}; + +void foo(struct s *p) +{ + p->a = 1; + p->b = 2; + p->c = 3; +} + +/* + * check-name: and-or-bf2 + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-start +foo: +.L0: + <entry-point> + store.8 $209 -> 0[%arg1] + ret + + + * check-output-end + */ |
