rust/tests/pass/issues/issue-15063.rs
2022-06-20 16:09:45 -07:00

12 lines
130 B
Rust

#[allow(dead_code)]
enum Two {
A,
B,
}
impl Drop for Two {
fn drop(&mut self) {}
}
fn main() {
let _k = Two::A;
}