blob: c2ef13ede4cf31e9b9241bb4f2f5e90e6a2bc070 [file] [log] [blame]
// run-pass
// Issue #50.
struct X { foo: String, bar: String }
pub fn main() {
let x = X {foo: "hello".to_string(), bar: "world".to_string()};
println!("{}", x.foo.clone());
println!("{}", x.bar.clone());
}