]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrowck/borrowck-static-item-in-fn.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / 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 }