diff options
| author | James Miller <james@aatch.net> | 2016-04-29 00:08:01 +1200 | 
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-06-05 14:02:24 +0300 | 
| commit | bcdb2602f8c4f6952f47c78cf41db0ad8223b929 (patch) | |
| tree | 4e8810366d6043722a048d278cdba9af425a2f81 /src/test/compile-fail/const-eval-overflow.rs | |
| parent | f2c983b248dff67da3f772af0df1483a5accc258 (diff) | |
| download | rust-bcdb2602f8c4f6952f47c78cf41db0ad8223b929.tar.gz rust-bcdb2602f8c4f6952f47c78cf41db0ad8223b929.zip | |
Enable the overflow-related tests for MIR
Diffstat (limited to 'src/test/compile-fail/const-eval-overflow.rs')
| -rw-r--r-- | src/test/compile-fail/const-eval-overflow.rs | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/src/test/compile-fail/const-eval-overflow.rs b/src/test/compile-fail/const-eval-overflow.rs index 96013551ef4..3dfcb5bb29a 100644 --- a/src/test/compile-fail/const-eval-overflow.rs +++ b/src/test/compile-fail/const-eval-overflow.rs @@ -8,7 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(rustc_attrs)] #![allow(unused_imports)] // Note: the relevant lint pass here runs before some of the constant @@ -104,7 +103,6 @@ const VALS_U64: (u64, u64, u64, u64) = //~^ ERROR attempted to multiply with overflow ); -#[rustc_no_mir] // FIXME #29769 MIR overflow checking is TBD. fn main() { foo(VALS_I8); foo(VALS_I16); | 
