- fixed comment: bs cannot be NULL anymore (and was never NULL previously)
[libfirm] / ir / be / test / fehler024.c
1 /* The tarval module fails to negate the constant and returns TV_OVERFLOW_BAD
2  * when optimising the comparison (-x < 0  ->  x > 0). It is not expected that
3  * the negation fails and an assertion while constructing the negated constant
4  * is triggered */
5
6 int f(double x)
7 {
8         return -x < 0;
9 }
10
11
12 int main(void)
13 {
14         return 0;
15 }