Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
recursion_limit
/
zero.rs
blob: 3a2d904cb1c218a2e4ef67e52eecd15bc0f2ca9e [
file
] [
log
] [
blame
] [
edit
]
// 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
()
{}