blob: 6f5b29aca8b9635f8888aa162835a1df050d9dd6 [file] [log] [blame]
#![feature(lang_items)]
#[lang = "clone"]
trait Clone {
pub fn clone(&self) -> Self;
}
impl Clone for i32 {
fn clone(&self) -> Self {
*self
}
}
#[derive(Clone)]
enum TupleEnum {
A(i32),
B(i32, i32, i32)
}