summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-38556.rs
blob: 63fd9db08ff2fc35797c241bac466ab03c444f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
#![allow(dead_code)]
pub struct Foo;

macro_rules! reexport {
    () => { use Foo as Bar; }
}

reexport!();

fn main() {
    fn f(_: Bar) {}
}