summaryrefslogtreecommitdiff
path: root/test/files/run/t8944/A_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8944/A_2.scala')
-rw-r--r--test/files/run/t8944/A_2.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t8944/A_2.scala b/test/files/run/t8944/A_2.scala
new file mode 100644
index 0000000000..3dcdea1583
--- /dev/null
+++ b/test/files/run/t8944/A_2.scala
@@ -0,0 +1,6 @@
+case class Other(private val x: String) // consume a fresh name suffix
+
+// the param accessor will now be called "x$2",
+// whereas the previously compiled client expects it to be called
+// x$1
+case class A(private val x: String)