diff options
-rw-r--r-- | config/list/test-pos.lst | 1 | ||||
-rw-r--r-- | test/files/pos/bug116.scala | 8 | ||||
-rw-r--r-- | test/pos/bug116.scala | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/config/list/test-pos.lst b/config/list/test-pos.lst index 4de7f4148c..dfdcf517aa 100644 --- a/config/list/test-pos.lst +++ b/config/list/test-pos.lst @@ -15,6 +15,7 @@ pos/Z.scala pos/abstract.scala pos/aliases.scala pos/bug1.scala +pos/bug116.scala pos/bug121.scala pos/bug160.scala pos/bug17.scala diff --git a/test/files/pos/bug116.scala b/test/files/pos/bug116.scala new file mode 100644 index 0000000000..b02c81f0b7 --- /dev/null +++ b/test/files/pos/bug116.scala @@ -0,0 +1,8 @@ +// $Id$ + +class C { + def this(x: Int) = { + this(); + class D extends C; + } +} diff --git a/test/pos/bug116.scala b/test/pos/bug116.scala new file mode 100644 index 0000000000..b02c81f0b7 --- /dev/null +++ b/test/pos/bug116.scala @@ -0,0 +1,8 @@ +// $Id$ + +class C { + def this(x: Int) = { + this(); + class D extends C; + } +} |