always optimize test

The error messages differ between optimized and nonoptimized mode
This commit is contained in:
Oliver Schneider 2018-04-23 11:12:33 +02:00 committed by GitHub
parent a406af885d
commit bb367c4720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
// except according to those terms.
// compile-pass
// compile-flags: -O
fn main() {
println!("{}", 0u32 - 1);
//~^ WARN const_err