blob: a82bffbe1c05a49cd50e81e69a40e165ae4fcff2 [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 StructEnum {
A { i0: i32 },
B { i0: i32, i1: i32, i2: i32 },
}