summaryrefslogtreecommitdiff
path: root/test/pending/run/t4098.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t4098.scala')
-rw-r--r--test/pending/run/t4098.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/t4098.scala b/test/pending/run/t4098.scala
new file mode 100644
index 0000000000..b74ccf9bff
--- /dev/null
+++ b/test/pending/run/t4098.scala
@@ -0,0 +1,9 @@
+class A(a: Any) {
+ def this() = { this(b) ; def b = new {} }
+}
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ new A ("")
+ }
+}