2016-09-07 10:27:57 +02:00
|
|
|
#![feature(custom_attribute, attr_literals)]
|
2017-05-26 20:27:39 -07:00
|
|
|
#![miri(stack_limit=16)]
|
2016-07-05 13:23:58 +02:00
|
|
|
|
2017-05-30 14:09:40 -07:00
|
|
|
//error-pattern: reached the configured maximum number of stack frames
|
|
|
|
|
2016-07-05 13:23:58 +02:00
|
|
|
fn bar() {
|
|
|
|
foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn foo() {
|
2017-05-30 14:09:40 -07:00
|
|
|
cake();
|
2016-07-05 13:23:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
fn cake() {
|
2017-05-30 14:09:40 -07:00
|
|
|
bar();
|
2017-05-26 20:27:39 -07:00
|
|
|
}
|
2016-07-05 13:23:58 +02:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
bar();
|
|
|
|
}
|