diff options
Diffstat (limited to 'test/files/pos/t651.scala')
-rw-r--r-- | test/files/pos/t651.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/pos/t651.scala b/test/files/pos/t651.scala new file mode 100644 index 0000000000..c146446af9 --- /dev/null +++ b/test/files/pos/t651.scala @@ -0,0 +1,15 @@ +package test; + +trait Test3 { + trait MatchableImpl { + trait MatchImpl; + } + + trait BracePairImpl { + trait BraceImpl extends MatchableImpl { + private object MyMatch1 extends MatchImpl; + protected def match0 : MatchImpl = MyMatch1; + + } + } +} |