about summary refs log tree commit diff
path: root/tests/ui/macros/defined-later-issue-121061.rs
blob: 07c6d406f03c5c5d93c3589ef683e38a72068af4 (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    something_later!(); //~ ERROR cannot find macro `something_later` in this scope
}

macro_rules! something_later {
    () => {
        println!("successfully expanded!");
    };
}