From ef536f00d9d480f28db3093b9dc09a90041cfb74 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Thu, 25 Jun 2015 09:45:27 +0200 Subject: Enable 61 tests that succeed. --- tests/run/t3832.scala | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/run/t3832.scala (limited to 'tests/run/t3832.scala') diff --git a/tests/run/t3832.scala b/tests/run/t3832.scala new file mode 100644 index 000000000..bc84dca22 --- /dev/null +++ b/tests/run/t3832.scala @@ -0,0 +1,17 @@ +class t3832 { + def this(un: Int) = { + this() + def bippy = this + () + } + def this(un: Boolean) = { + this() + def boppy = () => this + () + } +} + +object Test extends dotty.runtime.LegacyApp { + new t3832(0) + new t3832(true) +} -- cgit v1.2.3