summaryrefslogtreecommitdiff
path: root/test/files/run/t8266-octal-interp.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8266-octal-interp.scala')
-rw-r--r--test/files/run/t8266-octal-interp.scala16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/run/t8266-octal-interp.scala b/test/files/run/t8266-octal-interp.scala
new file mode 100644
index 0000000000..f85ae0367d
--- /dev/null
+++ b/test/files/run/t8266-octal-interp.scala
@@ -0,0 +1,16 @@
+
+trait X {
+ def f = Seq(
+ f"a\10c",
+ f"a\11c",
+ f"a\12c",
+ f"a\15c",
+ f"a\42c",
+ f"a\134c",
+ f"a\15151515c"
+ )
+}
+
+object Test extends App with X {
+ f foreach println
+}