mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Box the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.
This commit is contained in:
parent
2120599387
commit
792d96474e
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user