rust/src/test/run-pass/double-unbox.rs
2011-07-27 15:54:33 +02:00

6 lines
91 B
Rust

type quux = {bar: int};
fn g(i: &int) { }
fn f(foo: @@quux) { g(foo.bar); }
fn main() { }