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