2012-05-29 17:04:22 -05:00
|
|
|
// error-pattern:explicit failure
|
|
|
|
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod std;
|
2012-09-05 14:32:05 -05:00
|
|
|
use std::arc;
|
2012-08-10 17:20:03 -05:00
|
|
|
|
2012-09-07 16:52:28 -05:00
|
|
|
enum e<T: Const Send> { e(arc::ARC<T>) }
|
2012-05-29 17:04:22 -05:00
|
|
|
|
|
|
|
fn foo() -> e<int> {fail;}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let f = foo();
|
|
|
|
}
|