blob: 03d537d0ca611c08a5125b97be1e527bfc266b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// xfail-win32
// error-pattern:ran out of stack
// Test that the task fails after hiting the recursion limit, but
// that it doesn't bring down the whole proc
fn main() {
task::spawn {||
task::unsupervise();
fn f() { f() };
f();
};
}
|