diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-10-21 10:03:51 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-10-21 10:03:51 +0000 |
commit | cfb50cbccefea3ce00e7a78913993c4602ab9e77 (patch) | |
tree | 6a3866072b2f16c78007afe39f0dd92f2060421a /test/pending/neg/dbldef.check | |
parent | 81443d309e6af3f7daa51ddb323e19818334d784 (diff) | |
download | scala-cfb50cbccefea3ce00e7a78913993c4602ab9e77.tar.gz scala-cfb50cbccefea3ce00e7a78913993c4602ab9e77.tar.bz2 scala-cfb50cbccefea3ce00e7a78913993c4602ab9e77.zip |
oh well.. so let's remove that test. no review.
Diffstat (limited to 'test/pending/neg/dbldef.check')
-rw-r--r-- | test/pending/neg/dbldef.check | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/pending/neg/dbldef.check b/test/pending/neg/dbldef.check new file mode 100644 index 0000000000..3ee63475e4 --- /dev/null +++ b/test/pending/neg/dbldef.check @@ -0,0 +1,14 @@ +dbldef.scala:1: error: x is already defined as value x +case class test0(x: Int, x: Float) + ^ +dbldef.scala:1: error: type mismatch; + found : Float + required: Int +case class test0(x: Int, x: Float) + ^ +dbldef.scala:1: error: type mismatch; + found : Float + required: Int +case class test0(x: Int, x: Float) + ^ +three errors found |