Box the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.

This commit is contained in:
Graydon Hoare 2010-07-01 18:04:21 -07:00
parent 2120599387
commit 792d96474e

View File

@ -2,5 +2,5 @@ fn main() {
obj handle(@int i) {
}
// This just tests whether the obj leaks its box state members.
auto ob = handle(0xf00f00);
auto ob = handle(@0xf00f00);
}