]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass-valgrind/dst-dtor-2.rs
Imported Upstream version 1.2.0+dfsg1
[rustc.git] / src / test / run-pass-valgrind / dst-dtor-2.rs
index 59b593b1ab3f604d0d0ca08fd36fabd6de7ce21b..a89873b1277e0fcadb5b1198fdba2eef6e9d4225 100644 (file)
@@ -27,6 +27,6 @@ pub fn main() {
         let _x: Box<Fat<[Foo]>> = Box::<Fat<[Foo; 3]>>::new(Fat { f: [Foo, Foo, Foo] });
     }
     unsafe {
-        assert!(DROP_RAN == 3);
+        assert_eq!(DROP_RAN, 3);
     }
 }