rust-clippy/tests/ui/crashes/ice-3747.rs
Eduardo Broto 6b59675449 Remove run-pass annotations from crash tests
It does not seem to be necessary
2020-09-25 15:19:36 +02:00

17 lines
247 B
Rust

/// 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() {}