blob: eb6ab00341761eb75d68df8ce8f3d1d04d528cdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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 task;
fn f() {
}
fn main() {
task::spawn(bind f());
}
|