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 10:41:30 -06:00
impl Drop for Two {
fn drop(&mut self) {}
2017-02-07 10:41:30 -06:00
}
fn main() {
let _k = Two::A;
}