blob: 4bd0abfb0628bea7317a4adc36f4f2b66d5b12bb (
plain)
1
2
3
4
5
6
7
8
9
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
*/
|