we now get an extra unreachable code warning in this test

This commit is contained in:
Niko Matsakis 2017-03-17 11:54:23 -04:00
parent 5cd99aa167
commit 2f526cc897

View File

@ -16,5 +16,6 @@
fn main() {
let x: ! = panic!("aah"); //~ ERROR unused
drop(x); //~ ERROR unreachable
//~^ ERROR unreachable
}