aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/pos/i1687.scala10
-rw-r--r--tests/pos/i1687b.scala19
2 files changed, 29 insertions, 0 deletions
diff --git a/tests/pos/i1687.scala b/tests/pos/i1687.scala
new file mode 100644
index 000000000..d91c851e6
--- /dev/null
+++ b/tests/pos/i1687.scala
@@ -0,0 +1,10 @@
+object O {
+ def f: String = {
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1
+ }
+}
diff --git a/tests/pos/i1687b.scala b/tests/pos/i1687b.scala
new file mode 100644
index 000000000..46bb6649c
--- /dev/null
+++ b/tests/pos/i1687b.scala
@@ -0,0 +1,19 @@
+object O {
+ def f: String = {
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1 +
+ "1" + 1 + "1" + 1
+ }
+}