diff options
author | Martin Odersky <odersky@gmail.com> | 2006-07-11 13:17:46 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-07-11 13:17:46 +0000 |
commit | 7632879f2c853cfa3efe05db8560fc605c595907 (patch) | |
tree | beced6caeeb8d9821921cf514648e3632079814f /test/files/pos/bug651.scala | |
parent | 9a39e68be1dfeaaa3382b8ee816d96a0a5f71cf4 (diff) | |
download | scala-7632879f2c853cfa3efe05db8560fc605c595907.tar.gz scala-7632879f2c853cfa3efe05db8560fc605c595907.tar.bz2 scala-7632879f2c853cfa3efe05db8560fc605c595907.zip |
added tests for bug650, bug651
Diffstat (limited to 'test/files/pos/bug651.scala')
-rw-r--r-- | test/files/pos/bug651.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/pos/bug651.scala b/test/files/pos/bug651.scala new file mode 100644 index 0000000000..c146446af9 --- /dev/null +++ b/test/files/pos/bug651.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; + + } + } +} |