summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/gen-lifetime-token.rs
blob: 588bd2b76c105256d6e87ab7eeac2a9fe7d5e151 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// aux-build:gen-lifetime-token.rs

extern crate gen_lifetime_token as bar;

bar::bar!();

fn main() {
    let x: &'static i32 = FOO;
    assert_eq!(*x, 1);
}