]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/gen-lifetime-token.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / proc-macro / gen-lifetime-token.rs
1 // run-pass
2 // aux-build:gen-lifetime-token.rs
3
4 extern crate gen_lifetime_token as bar;
5
6 bar::bar!();
7
8 fn main() {
9     let x: &'static i32 = FOO;
10     assert_eq!(*x, 1);
11 }