rust/tests/ui/issues/issue-9110.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
287 B
Rust
Raw Normal View History

//@ check-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
#![allow(non_snake_case)]
macro_rules! silly_macro {
2013-09-12 05:17:57 +00:00
() => (
pub mod Qux {
pub struct Foo { x : u8 }
pub fn bar(_foo : Foo) {}
}
);
}
2013-09-12 05:17:57 +00:00
silly_macro!();
2013-09-12 05:17:57 +00:00
pub fn main() {}