diff options
Diffstat (limited to 'tests/run/t8570.scala')
-rw-r--r-- | tests/run/t8570.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run/t8570.scala b/tests/run/t8570.scala new file mode 100644 index 000000000..f1f752602 --- /dev/null +++ b/tests/run/t8570.scala @@ -0,0 +1,10 @@ +trait Trait40_1 { + val value37_2 = () + def run = { value37_2 } +} + +object Test { + def main(args: Array[String]): Unit = { + (new Trait40_1 {}).run + } +} |