rust/tests/pass/issues/issue-15063.rs

12 lines
130 B
Rust
Raw Normal View History

#[allow(dead_code)]
enum Two {
A,
B,
}
2017-02-07 17:41:30 +01:00
impl Drop for Two {
fn drop(&mut self) {}
2017-02-07 17:41:30 +01:00
}
fn main() {
let _k = Two::A;
}