aboutsummaryrefslogtreecommitdiff
path: root/tests/new/t160.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/t160.scala')
-rw-r--r--tests/new/t160.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/new/t160.scala b/tests/new/t160.scala
new file mode 100644
index 000000000..91ac2ba84
--- /dev/null
+++ b/tests/new/t160.scala
@@ -0,0 +1,3 @@
+class Foo(s:String) {
+ def this() = { this("DEFAULT") }
+}