summaryrefslogtreecommitdiff
path: root/test/files/run/t3452h.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3452h.scala')
-rw-r--r--test/files/run/t3452h.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t3452h.scala b/test/files/run/t3452h.scala
new file mode 100644
index 0000000000..6237d3ea64
--- /dev/null
+++ b/test/files/run/t3452h.scala
@@ -0,0 +1,8 @@
+class Mix___eFoo_I_wBar__f extends Foo_I_ with Bar__f { f; }
+trait T
+abstract class Foo_I_ { class I extends T ; def f: I ; f; }
+trait Bar__f { type I>:Null<:T; def f: I = {null}; f; def gobble: I = {null}}
+
+object Test extends App {
+ new Mix___eFoo_I_wBar__f
+}