mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
17 lines
287 B
Rust
17 lines
287 B
Rust
//@ check-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() {}
|