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