Sign in
rust
/
rust
/
de6826beff7cbfc52be0f1efecea6449e2df295d
/
.
/
tests
/
ui
/
recursion
/
recursion_limit
/
zero.rs
blob: 3a2d904cb1c218a2e4ef67e52eecd15bc0f2ca9e [
file
]
// Test that a `limit` of 0 is valid
#![
recursion_limit
=
"0"
]
macro_rules
!
test
{
()
=>
{};
(
$tt
:
tt
)
=>
{
test
!();
};
}
test
!(
test
);
//~ ERROR recursion limit reached while expanding `test!`
fn
main
()
{}