type box = {c: @T}; fn unbox(b: box) -> T { return *b.c; } fn main() { let foo: int = 17; let bfoo: box = {c: @foo}; debug!("see what's in our box"); assert (unbox::(bfoo) == foo); }