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

11 lines
128 B
Rust
Raw Normal View History

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