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