summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/t1422.check2
-rw-r--r--test/files/neg/t1422.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t1422.check b/test/files/neg/t1422.check
index 5931fcb049..4db64f1d49 100644
--- a/test/files/neg/t1422.check
+++ b/test/files/neg/t1422.check
@@ -1,4 +1,4 @@
t1422.scala:1: error: private[this] not allowed for case class parameters
-case class A(private[this] val foo:String)
+case class A(private[this] val foo:String) { }
^
one error found
diff --git a/test/files/neg/t1422.scala b/test/files/neg/t1422.scala
index 751f05a764..af308244cd 100644
--- a/test/files/neg/t1422.scala
+++ b/test/files/neg/t1422.scala
@@ -1 +1 @@
-case class A(private[this] val foo:String)
+case class A(private[this] val foo:String) { }