diff options
Diffstat (limited to 'tests/run/t216.scala')
-rw-r--r-- | tests/run/t216.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/t216.scala b/tests/run/t216.scala new file mode 100644 index 000000000..56efb4502 --- /dev/null +++ b/tests/run/t216.scala @@ -0,0 +1,7 @@ +object Test extends dotty.runtime.LegacyApp { + object m { + val f = { x: Unit => () } + Console.println("OK") + } + m; +} |