diff options
Diffstat (limited to 'test/files/pos/t615.scala')
-rw-r--r-- | test/files/pos/t615.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t615.scala b/test/files/pos/t615.scala new file mode 100644 index 0000000000..8fefc952e0 --- /dev/null +++ b/test/files/pos/t615.scala @@ -0,0 +1,11 @@ +object test { + abstract class Bar { + type T + def bar: Unit + } + new Bar { + type T = Int + def bar = () + }.bar +} + |