summaryrefslogtreecommitdiff
path: root/test/files/neg/t8892.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8892.scala')
-rw-r--r--test/files/neg/t8892.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/neg/t8892.scala b/test/files/neg/t8892.scala
new file mode 100644
index 0000000000..f857e6f115
--- /dev/null
+++ b/test/files/neg/t8892.scala
@@ -0,0 +1,2 @@
+trait A { type B = String }
+class C[B](x: B) extends A { def f: B = x }