summaryrefslogtreecommitdiffstats
path: root/tests/ui/bare-static-string.rs
blob: d336dc7c6a083fbac95ba60b9cc4982c96864d43 (plain)
1
2
3
4
5
6
// run-pass

pub fn main() {
    let x: &'static str = "foo";
    println!("{}", x);
}