mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
Add --stack-growth to the morestack test compile flags
This commit is contained in:
parent
a9967423f8
commit
579399f92f
@ -1,4 +1,5 @@
|
||||
// xfail-test
|
||||
// compile-flags:--stack-growth
|
||||
fn getbig(i: int) {
|
||||
if i != 0 {
|
||||
getbig(i - 1);
|
||||
|
@ -1,4 +1,5 @@
|
||||
// xfail-test
|
||||
// compile-flags:--stack-growth
|
||||
fn getbig(i: int) {
|
||||
if i != 0 {
|
||||
getbig(i - 1);
|
||||
|
@ -1,4 +1,5 @@
|
||||
// xfail-test
|
||||
// compile-flags:--stack-growth
|
||||
fn getbig(i: int) -> int {
|
||||
let m = if i >= 0 {
|
||||
let j = getbig(i - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user