diff options
Diffstat (limited to 'test/pending/neg/bug452.scala')
-rw-r--r-- | test/pending/neg/bug452.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/neg/bug452.scala b/test/pending/neg/bug452.scala new file mode 100644 index 0000000000..855406d0c4 --- /dev/null +++ b/test/pending/neg/bug452.scala @@ -0,0 +1,8 @@ +object Test { + class Foo(x: Foo) { + def this() = this(this); + } + def main(args: Array[String]): Unit = { + new Foo(); + } +} |