diff options
Diffstat (limited to 'test/files/neg/t5799.check')
-rw-r--r-- | test/files/neg/t5799.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t5799.check b/test/files/neg/t5799.check index 10e2658d56..3b43d06a94 100644 --- a/test/files/neg/t5799.check +++ b/test/files/neg/t5799.check @@ -1,4 +1,4 @@ -t5799.scala:2: error: value class may not have secondary constructors +t5799.scala:2: error: secondary constructor is not allowed in value class def this(s: String) = this(s.toDouble) ^ one error found |