diff options
Diffstat (limited to 'validation/optim/simplify-not-xor-cte.c')
| -rw-r--r-- | validation/optim/simplify-not-xor-cte.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/validation/optim/simplify-not-xor-cte.c b/validation/optim/simplify-not-xor-cte.c new file mode 100644 index 00000000..d3046f20 --- /dev/null +++ b/validation/optim/simplify-not-xor-cte.c @@ -0,0 +1,12 @@ +#define C 3 + +int foo(int x) { return ~(x ^ C) == (x ^ ~C); } + +/* + * check-name: simplify-not-xor-cte + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-contains: ret\\..*\\$1 + */ |
