1 // run-pass
2 
main()3 pub fn main() {
4     let x: &'static str = "foo";
5     println!("{}", x);
6 }
7