blob: 09e0404fb4c7b8b75f2fede8e158bfdc3a935a54 [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
mod clone {
#[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),
}