1
Fork 0

Unignore tests which work fine now.

This commit is contained in:
Mark Simulacrum 2017-04-28 22:30:03 -06:00
parent 128aa262e8
commit f48a8f592d
5 changed files with 5 additions and 7 deletions

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-test this should fail to compile (#23833)
// Evaluation of constants in array-elem count goes through different
// compiler control-flow paths.
//
@ -23,7 +21,8 @@ use std::{u8, u16, u32, u64, usize};
const A_I8_T
: [u32; (i8::MAX as i8 + 1i8) as usize]
//~^ ERROR error evaluating count: attempt to add with overflow
//~^ ERROR constant evaluation error
//~^^ NOTE attempt to add with overflow
= [0; (i8::MAX as usize) + 1];
fn main() {

View file

@ -8,4 +8,4 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-test
// ignore-test not a test, auxillary

View file

@ -8,6 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-test
// ignore-test not a test, auxillary
mod_decl!(bar);

View file

@ -10,7 +10,6 @@
// Test that we can use a ! for an argument of type !
// ignore-test FIXME(durka) can't be done with the current liveness code
// error-pattern:wowzers!
#![feature(never_type)]

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-test
// ignore-test not a test, auxillary
#![feature(macro_reexport)]