summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-15063.rs
blob: 4082675129dc52682add46d44496e3f16a1911fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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;
}