summaryrefslogtreecommitdiff
path: root/test/files/neg/t6810.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6810.scala')
-rw-r--r--test/files/neg/t6810.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6810.scala b/test/files/neg/t6810.scala
index a9d8813389..50c305d70c 100644
--- a/test/files/neg/t6810.scala
+++ b/test/files/neg/t6810.scala
@@ -19,4 +19,8 @@ trait t6810 {
val `\u000A` = EOL // backquoted identifiers are arbitrary string literals
val `
` = EOL // not raw string literals aka triple-quoted, multiline strings
+
+ val a = '\u000D' // similar treatment of CR
+ val b = ' ' // CR seen as EOL by scanner
+ val c = '\r' // traditionally
}