rust/tests/pass/issue-15063.rs
2022-06-01 10:53:38 -04: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;
}