rust/tests/run-pass/issue-15063.rs
2020-04-16 09:25:12 +02:00

10 lines
126 B
Rust

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