always optimize test
The error messages differ between optimized and nonoptimized mode
This commit is contained in:
parent
a406af885d
commit
bb367c4720
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// compile-pass
|
||||
|
||||
// compile-flags: -O
|
||||
fn main() {
|
||||
println!("{}", 0u32 - 1);
|
||||
//~^ WARN const_err
|
||||
|
Loading…
Reference in New Issue
Block a user