shithub: mc

Download patch

ref: e359b66fa9e58e8806e0df26d28feca87db7c7a6
parent: 0ed042f0cfb35372cada674f8a5e878b0768a8f0
author: Ori Bernstein <[email protected]>
date: Tue Aug 19 14:29:54 EDT 2014

Fix broken test.

    We forgot to reinitialize the pointers. Ooops.

--- a/test/ptrcmp.myr
+++ b/test/ptrcmp.myr
@@ -8,6 +8,8 @@
 	a = &v1
 	b = &v1
 	std.assert(a == b, "pointers should be equal, but weren't\n")
+	a = &v1
+	b = &v2
 	std.assert(a != b, "pointers weren't equal, but should be\n")
 	std.exit(0)
 }