aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5648.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t5648.scala')
-rw-r--r--tests/pending/run/t5648.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pending/run/t5648.scala b/tests/pending/run/t5648.scala
new file mode 100644
index 000000000..c5cea9e1c
--- /dev/null
+++ b/tests/pending/run/t5648.scala
@@ -0,0 +1,10 @@
+case class C(val s: Int*)
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ println(new C(1, 3, 7) == new C(1, 3, 7))
+ println(new C(1, 3, 7) == C(1, 3, 7))
+ println(C(1, 3, 7) == new C(1, 3, 7))
+ println(C(1, 3, 7) == C(1, 3, 7))
+ }
+}