diff options
| author | bors <bors@rust-lang.org> | 2013-04-30 12:12:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-04-30 12:12:37 -0700 |
| commit | 9b54fbd40f1c803fb3ef8d27ea7d64374c343c47 (patch) | |
| tree | 2ec66fc5a28e8d05b282a46e5daf2bfcab6c5772 /src/test | |
| parent | c081ffbd1e845687202a975ea2e698b623e5722f (diff) | |
| parent | 9ddcf1cdd3f90366858c7e2746aedd726b477ea3 (diff) | |
| download | rust-9b54fbd40f1c803fb3ef8d27ea7d64374c343c47.tar.gz rust-9b54fbd40f1c803fb3ef8d27ea7d64374c343c47.zip | |
auto merge of #6118 : brson/rust/too-much-recursion, r=thestinger
I don't understand how this is still passing on the bots. This condition should trigger an abort now.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/too-much-recursion.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/run-pass/too-much-recursion.rs b/src/test/run-pass/too-much-recursion.rs deleted file mode 100644 index adccc786926..00000000000 --- a/src/test/run-pass/too-much-recursion.rs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// 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 - -pub fn main() { - do task::spawn_unlinked { - fn f() { f() }; - f(); - }; -} |
