summaryrefslogtreecommitdiff
path: root/test/files/neg/t1422.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-11-20 09:04:04 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-11-20 09:04:04 +0000
commit3cf0e5a010ca8d3bd1828bbc096f587a01ba604f (patch)
treef4132bbeb1e14367418540ffbfe8f7b7bf5a0a6c /test/files/neg/t1422.check
parent56ce6c65a54cf8aa130a63d5be8ad80e0f3d3dcc (diff)
downloadscala-3cf0e5a010ca8d3bd1828bbc096f587a01ba604f.tar.gz
scala-3cf0e5a010ca8d3bd1828bbc096f587a01ba604f.tar.bz2
scala-3cf0e5a010ca8d3bd1828bbc096f587a01ba604f.zip
closes #1422
Diffstat (limited to 'test/files/neg/t1422.check')
-rw-r--r--test/files/neg/t1422.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t1422.check b/test/files/neg/t1422.check
new file mode 100644
index 0000000000..5931fcb049
--- /dev/null
+++ b/test/files/neg/t1422.check
@@ -0,0 +1,4 @@
+t1422.scala:1: error: private[this] not allowed for case class parameters
+case class A(private[this] val foo:String)
+ ^
+one error found