]> git.lizzy.rs Git - rust.git/blob - tests/ui/bare-static-string.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / bare-static-string.rs
1 // run-pass
2
3 pub fn main() {
4     let x: &'static str = "foo";
5     println!("{}", x);
6 }