2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-09-25 21:51:35 +00:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 20:13:15 +00:00
|
|
|
// pretty-expanded FIXME #23616
|
2018-08-31 13:02:01 +00:00
|
|
|
#![allow(non_snake_case)]
|
2015-03-22 20:13:15 +00:00
|
|
|
|
2015-01-02 22:44:21 +00:00
|
|
|
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) {}
|
|
|
|
}
|
|
|
|
);
|
2015-01-02 22:44:21 +00:00
|
|
|
}
|
2013-09-12 05:17:57 +00:00
|
|
|
|
2014-11-14 17:18:10 +00:00
|
|
|
silly_macro!();
|
2013-09-12 05:17:57 +00:00
|
|
|
|
2013-09-25 07:43:37 +00:00
|
|
|
pub fn main() {}
|