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