| 1 |
// https://bugzilla.gdcproject.org/show_bug.cgi?id=141 |
| 2 |
// { dg-do run } |
| 3 |
// { dg-skip-if "needs gcc/config.d" { ! d_runtime } } |
| 4 |
|
| 5 |
bool test141(int a) |
| 6 |
{ |
| 7 |
return a > (a + 1); |
| 8 |
} |
| 9 |
|
| 10 |
void main() |
| 11 |
{ |
| 12 |
assert(test141(int.min) == false); |
| 13 |
assert(test141(int.max) == true); |
| 14 |
} |