summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-static-item-in-fn.rs
blob: 5f4379325a58ad69ee973a126dd6995bc1064c18 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
#![allow(dead_code)]
// Regression test for issue #7740

// pretty-expanded FIXME #23616

pub fn main() {
    static A: &'static char = &'A';
}