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