aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t651.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t651.scala')
-rw-r--r--tests/untried/pos/t651.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/untried/pos/t651.scala b/tests/untried/pos/t651.scala
new file mode 100644
index 000000000..c146446af
--- /dev/null
+++ b/tests/untried/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;
+
+ }
+ }
+}