From 89bacb9c25a58454ff1878e67f7ea07ffc8c269f Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 12 May 2015 18:30:53 +0200 Subject: Run tests as they were in scala. --- tests/pending/run/t5648.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/pending/run/t5648.scala (limited to 'tests/pending/run/t5648.scala') 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)) + } +} -- cgit v1.2.3