Skip to content

Commit 579399f

Browse files
committed
Add --stack-growth to the morestack test compile flags
1 parent a996742 commit 579399f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/run-fail/morestack1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// xfail-test
2+
// compile-flags:--stack-growth
23
fn getbig(i: int) {
34
if i != 0 {
45
getbig(i - 1);

src/test/run-pass/morestack1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// xfail-test
2+
// compile-flags:--stack-growth
23
fn getbig(i: int) {
34
if i != 0 {
45
getbig(i - 1);

src/test/run-pass/morestack2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// xfail-test
2+
// compile-flags:--stack-growth
23
fn getbig(i: int) -> int {
34
let m = if i >= 0 {
45
let j = getbig(i - 1);

0 commit comments

Comments
 (0)