blob: 17f89e4d20d3e34cbda5d6d3dbe0820c14b39eee [file] [log] [blame]
// error-pattern:explicit panic
use std::sync::Arc;
enum e<T> {
ee(Arc<T>),
}
fn foo() -> e<isize> {
panic!();
}
fn main() {
let _f = foo();
}