]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-static-item-in-fn.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[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 }