summary refs log tree commit diff
path: root/src/test/run-pass/issue-2708.rs
blob: 8fcc613b09b7306a30c1b0bce77295be7da67bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Font {
    let fontbuf: uint;
    let cairo_font: uint;
    let font_dtor: uint;

    new() {
        self.fontbuf = 0;
        self.cairo_font = 0;
        self.font_dtor = 0;
    }

    drop { }
}

fn main() {
    let _f = @Font();
}