diff options
Diffstat (limited to 'validation/optim/and-or-constant1.c')
| -rw-r--r-- | validation/optim/and-or-constant1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/validation/optim/and-or-constant1.c b/validation/optim/and-or-constant1.c new file mode 100644 index 00000000..3f1c9052 --- /dev/null +++ b/validation/optim/and-or-constant1.c @@ -0,0 +1,15 @@ +int foo(int x) +{ + return (x | 0x000fffff) & 0xfff; +} + +/* + * check-name: or-and-constant1 + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-contains: ret\\..*\\$0xfff + * check-output-excludes: and\\. + * check-output-excludes: or\\. + */ |
