shithub: mc

Download patch

ref: 1d621484cf5a247351702ef7b2c111ca83a41d97
parent: 75e55c54a0e4f7322f5ab83a22c5b1025069e92e
author: Ori Bernstein <[email protected]>
date: Sat Jul 28 09:20:05 EDT 2012

Add the test file instead of the binary.

binary files a/test/overlappingif /dev/null differ
--- /dev/null
+++ b/test/overlappingif.myr
@@ -1,0 +1,15 @@
+const main = {
+	var v
+	var x
+
+	v = 0xff
+
+	if v & 0xff00 != 0
+		x = 1
+	elif v & 0xfff0 != 0
+		x = 2
+	elif v & 0xffff != 0
+		x = 3
+	;;
+	-> 0
+}