rust/src/test/ui/issues/issue-9110.rs
2018-12-25 21:08:33 -07:00

18 lines
287 B
Rust

// compile-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
#![allow(non_snake_case)]
macro_rules! silly_macro {
() => (
pub mod Qux {
pub struct Foo { x : u8 }
pub fn bar(_foo : Foo) {}
}
);
}
silly_macro!();
pub fn main() {}