diff options
Diffstat (limited to 'tests/ui/issues/issue-9110.rs')
-rw-r--r-- | tests/ui/issues/issue-9110.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-9110.rs b/tests/ui/issues/issue-9110.rs new file mode 100644 index 000000000..cbf3c92d0 --- /dev/null +++ b/tests/ui/issues/issue-9110.rs @@ -0,0 +1,17 @@ +// 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() {} |