]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-static-item-in-fn.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / borrowck / borrowck-static-item-in-fn.rs
1 // run-pass
2 #![allow(dead_code)]
3 // Regression test for issue #7740
4
5 // pretty-expanded FIXME #23616
6
7 pub fn main() {
8     static A: &'static char = &'A';
9 }