2011-10-13 15:37:07 -07:00
|
|
|
// xfail-test
|
2011-09-19 19:02:53 -07:00
|
|
|
// Issue #922
|
|
|
|
|
2011-10-13 15:37:07 -07:00
|
|
|
// This test is specifically about spawning temporary closures, which
|
|
|
|
// isn't possible under the bare-fn regime. I'm keeping it around
|
|
|
|
// until such time as we have unique closures.
|
|
|
|
|
2011-09-19 19:02:53 -07:00
|
|
|
use std;
|
|
|
|
import std::task;
|
|
|
|
|
|
|
|
fn f() {
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2011-10-13 21:23:07 -07:00
|
|
|
task::spawn(bind f());
|
2011-09-19 19:02:53 -07:00
|
|
|
}
|