rust/tests/run-pass/issue-15063.rs

10 lines
126 B
Rust
Raw Normal View History

#[allow(dead_code)]
2017-02-07 10:41:30 -06:00
enum Two { A, B }
impl Drop for Two {
fn drop(&mut self) {
}
}
fn main() {
let _k = Two::A;
}