shithub: mc

Download patch

ref: 11103467867dfd1416f7328b1facbe63da5c0cf5
parent: e0f3c2226a618f63776061b3629d97c49679702b
author: Ori Bernstein <[email protected]>
date: Mon Nov 11 10:51:41 EST 2013

Add a test for large integer literals.

--- /dev/null
+++ b/test/bigliteral.myr
@@ -1,0 +1,6 @@
+use std
+
+const main = {
+	std.put("%l\n", 34359738368)
+	-> 0
+}
--- a/test/tests
+++ b/test/tests
@@ -89,6 +89,7 @@
 B matchbind	E	8
 F matchmixed
 
+B bigliteral	P	34359738368
 B arraylit-ni	E	2
 B livearraylit	E	21
 # B arraylit	E	3       ## BUGGERED