1 // run-pass 2 3 use std::rc::Rc; 4 main()5 fn main() { 6 let x = Rc::new([1, 2, 3, 4]); 7 assert_eq!(*x, [1, 2, 3, 4]); 8 } 9