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