diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-11-29 12:05:56 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-11-29 12:05:56 -0800 |
| commit | 3beff12309f4e78c74a9353eb0b68c2c8bf8e887 (patch) | |
| tree | a8a857c71a77ecf51078172b8bbc9922e92fde7b | |
| parent | 9678abedecfb1b57158dcd5d1ebba9914a089dc5 (diff) | |
| download | rust-3beff12309f4e78c74a9353eb0b68c2c8bf8e887.tar.gz rust-3beff12309f4e78c74a9353eb0b68c2c8bf8e887.zip | |
test: Fix broken resource-cycle.rs. r=tinderbox
| -rw-r--r-- | src/test/run-pass/resource-cycle.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/resource-cycle.rs b/src/test/run-pass/resource-cycle.rs index e9ec45d97e9..72466d5513d 100644 --- a/src/test/run-pass/resource-cycle.rs +++ b/src/test/run-pass/resource-cycle.rs @@ -8,7 +8,7 @@ impl r : Drop { fn finalize(&self) { unsafe { debug!("r's dtor: self = %x, self.v = %x, self.v's value = %x", - cast::reinterpret_cast::<*r, uint>(&ptr::addr_of(&self)), + cast::reinterpret_cast::<*r, uint>(&ptr::addr_of(self)), cast::reinterpret_cast::<**int, uint>(&ptr::addr_of(&(self.v))), cast::reinterpret_cast::<*int, uint>(&self.v)); let v2: ~int = cast::reinterpret_cast(&self.v); |
