Work around auto-dereference crash in rustboot.

This commit is contained in:
Jeffrey Yasskin 2010-07-17 15:43:59 +08:00 committed by Graydon Hoare
parent fb68286700
commit c3c425e9f1
2 changed files with 1 additions and 2 deletions

View file

@ -347,7 +347,6 @@ MUT_BOX_XFAILS := $(addprefix test/run-pass/, \
TEST_XFAILS_X86 := $(MUT_BOX_XFAILS) \
test/run-pass/mlist-cycle.rs \
test/run-pass/clone-with-exterior.rs \
test/run-pass/destructor-ordering.rs \
test/run-pass/obj-as.rs \
test/run-pass/vec-slice.rs \
test/run-pass/fn-lval.rs \

View file

@ -18,7 +18,7 @@ state obj order_tracker(mutable int init) {
obj dorder(@order_tracker tracker, int order, str message) {
drop {
tracker.assert_order(order, message);
(*tracker).assert_order(order, message);
}
}