summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-def-site-super.rs
blob: 716a8ced5bb7427f69ba0a343086a0a14a10256e (plain)
1
2
3
4
5
6
7
8
9
10
// `super` in a `macro` refers to the parent module of the macro itself and not its reexport.

// check-pass
// aux-build:macro-def-site-super.rs

extern crate macro_def_site_super;

type A = macro_def_site_super::public::mac!();

fn main() {}