blob: a8198abafa0081c0f0bbdff5c3b2299a1c3656e2 [file] [log] [blame]
//! Regression test for https://github.com/rust-lang/rust/issues/15063
//@ run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
enum Two { A, B}
impl Drop for Two {
fn drop(&mut self) {
println!("Dropping!");
}
}
fn main() {
let k = Two::A;
}