rust/tests/run-pass/issue-15063.rs
2019-02-26 18:37:45 +00:00

11 lines
128 B
Rust

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