Test that carriage returns are treated like whitespace.

This commit is contained in:
Bob Nystrom
2015-01-11 19:58:30 -08:00
parent ad6d350140
commit 21e740d5c3
+6
View File
@@ -0,0 +1,6 @@
// Sprinkle some carriage returns to ensure they are ignored anywhere:
IO␍.print("one"␍)
IO.print␍("two")
// Generate a compile error so we can test that the line number is correct.
+ * // expect error