rust/src/test/run-pass/issue-2708.rs
2012-09-07 14:02:33 -07:00

20 lines
233 B
Rust

struct Font {
fontbuf: uint,
cairo_font: uint,
font_dtor: uint,
drop { }
}
fn Font() -> Font {
Font {
fontbuf: 0,
cairo_font: 0,
font_dtor: 0
}
}
fn main() {
let _f = @Font();
}