1 // `#[macro_export] macro_rules` that doesn't originate from macro expansions can be placed
2 // into the root module soon enough to act as usual items and shadow globs and preludes.
4 #![feature(decl_macro)]
6 // `macro_export` shadows globs
10 pub macro exported() {}
19 macro_rules! exported {
20 () => ( struct Б; ) //~ ERROR non-ascii idents are not fully supported
28 // `macro_export` shadows std prelude
36 () => ( struct Г; ) //~ ERROR non-ascii idents are not fully supported
40 // `macro_export` shadows builtin macros
45 macro_rules! include {
46 () => ( struct Д; ) //~ ERROR non-ascii idents are not fully supported