summaryrefslogtreecommitdiff
path: root/test/files/run/t7120/Base_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7120/Base_1.scala')
-rw-r--r--test/files/run/t7120/Base_1.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t7120/Base_1.scala b/test/files/run/t7120/Base_1.scala
new file mode 100644
index 0000000000..be07b4f34f
--- /dev/null
+++ b/test/files/run/t7120/Base_1.scala
@@ -0,0 +1,10 @@
+// This bug doesn't depend on separate compilation,
+// in the interests of minimizing the log output during
+// debugging this problem, I've split the compilation.
+
+case class Container( v: String )
+
+trait Base[ T <: AnyRef ] {
+ type UserType = T
+ protected def defect: PartialFunction[ UserType, String ]
+}