aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/obj-dtor-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/obj-dtor-2.rs')
-rw-r--r--src/test/run-pass/obj-dtor-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/obj-dtor-2.rs b/src/test/run-pass/obj-dtor-2.rs
index 167b15fb..f512e6ee 100644
--- a/src/test/run-pass/obj-dtor-2.rs
+++ b/src/test/run-pass/obj-dtor-2.rs
@@ -14,5 +14,5 @@ fn main() {
{
auto x = foo(mbox);
}
- check ((*mbox) == 11);
+ assert ((*mbox) == 11);
} \ No newline at end of file