diff options
| author | Graydon Hoare <[email protected]> | 2010-07-01 18:04:21 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-01 18:04:21 -0700 |
| commit | 792d96474ea58d5ce39be3658d58f312d7d82946 (patch) | |
| tree | 89a3b93616315d3a64efaa178b7d148a1d37f7a8 /src/test | |
| parent | Establish the box constraint on the dst in STMT_init_box before propagating i... (diff) | |
| download | rust-792d96474ea58d5ce39be3658d58f312d7d82946.tar.xz rust-792d96474ea58d5ce39be3658d58f312d7d82946.zip | |
Box the integer passed to the handle in obj-drop.rs. No more implicit arg-boxing.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/obj-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/obj-drop.rs b/src/test/run-pass/obj-drop.rs index ab068b9b..107e6693 100644 --- a/src/test/run-pass/obj-drop.rs +++ b/src/test/run-pass/obj-drop.rs @@ -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); }
\ No newline at end of file |