Add --stack-growth to the morestack test compile flags

This commit is contained in:
Brian Anderson 2011-11-29 12:14:34 -08:00
parent a9967423f8
commit 579399f92f
3 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
// xfail-test
// compile-flags:--stack-growth
fn getbig(i: int) {
if i != 0 {
getbig(i - 1);

View File

@ -1,4 +1,5 @@
// xfail-test
// compile-flags:--stack-growth
fn getbig(i: int) {
if i != 0 {
getbig(i - 1);

View File

@ -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);