686d6a485f
Issue #1022
16 lines
293 B
Rust
16 lines
293 B
Rust
// xfail-test
|
|
// Issue #922
|
|
|
|
// 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.
|
|
|
|
use std;
|
|
import std::task;
|
|
|
|
fn f() {
|
|
}
|
|
|
|
fn main() {
|
|
task::spawn(bind f());
|
|
} |