Skip to content

Commit 5b37405

Browse files
committed
test: Prevent run-fail/too-much-recursion from being optimized to nothing
1 parent b17145b commit 5b37405

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/run-fail/too-much-recursion.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
// Test that the task fails after hiting the recursion limit
44

55
fn main() {
6+
log(debug, "don't optimize me out");
67
main();
78
}

0 commit comments

Comments
 (0)