diff options
Diffstat (limited to 'tests/ui/consts/const-int-arithmetic-overflow.rs')
| -rw-r--r-- | tests/ui/consts/const-int-arithmetic-overflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/consts/const-int-arithmetic-overflow.rs b/tests/ui/consts/const-int-arithmetic-overflow.rs index 6446e94513c..17fe6513eee 100644 --- a/tests/ui/consts/const-int-arithmetic-overflow.rs +++ b/tests/ui/consts/const-int-arithmetic-overflow.rs @@ -1,5 +1,5 @@ -// run-pass -// compile-flags: -O +//@ run-pass +//@ compile-flags: -O // Make sure arithmetic unary/binary ops actually return the right result, even when overflowing. // We have to put them in `const fn` and turn on optimizations to avoid overflow checks. |
