summaryrefslogtreecommitdiff
path: root/test/files/run/t6725-1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6725-1.scala')
-rw-r--r--test/files/run/t6725-1.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t6725-1.scala b/test/files/run/t6725-1.scala
new file mode 100644
index 0000000000..a167ef8aa3
--- /dev/null
+++ b/test/files/run/t6725-1.scala
@@ -0,0 +1,5 @@
+object Test extends App {
+ val a = 1
+ val s = f"$a%s%n$a%s"
+ println(s)
+} \ No newline at end of file