Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
ice-3747.rs
blob: d0b44ebafeeb22e7d85738bce954dd12e5e6278d [
file
] [
log
] [
blame
]
// run-pass
/// Test for https://github.com/rust-lang/rust-clippy/issues/3747
macro_rules
!
a
{
(
$pub
:
tt $
(
$attr
:
tt
)*
)
=>
{
$
(
$attr
)*
$pub
fn
say_hello
()
{}
};
}
macro_rules
!
b
{
()
=>
{
a
!
{
pub
}
};
}
b
!
{}
fn
main
()
{}