summaryrefslogtreecommitdiff
path: root/test/files/pos/bug651.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-07-11 13:17:46 +0000
committerMartin Odersky <odersky@gmail.com>2006-07-11 13:17:46 +0000
commit7632879f2c853cfa3efe05db8560fc605c595907 (patch)
treebeced6caeeb8d9821921cf514648e3632079814f /test/files/pos/bug651.scala
parent9a39e68be1dfeaaa3382b8ee816d96a0a5f71cf4 (diff)
downloadscala-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.scala15
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;
+
+ }
+ }
+}