]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrowck/borrowck-static-item-in-fn.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[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 }