summaryrefslogtreecommitdiff
path: root/test/pending/neg/dbldef.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/neg/dbldef.check')
-rw-r--r--test/pending/neg/dbldef.check14
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