2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_variables)]
|
2014-11-02 17:58:00 -06:00
|
|
|
enum Two { A, B}
|
|
|
|
impl Drop for Two {
|
|
|
|
fn drop(&mut self) {
|
|
|
|
println!("Dropping!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fn main() {
|
2014-11-06 02:05:53 -06:00
|
|
|
let k = Two::A;
|
2014-11-02 17:58:00 -06:00
|
|
|
}
|