summaryrefslogtreecommitdiff
path: root/test/files/pos/michel2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/michel2.scala')
-rw-r--r--test/files/pos/michel2.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/michel2.scala b/test/files/pos/michel2.scala
new file mode 100644
index 0000000000..8f3f34e1ba
--- /dev/null
+++ b/test/files/pos/michel2.scala
@@ -0,0 +1,7 @@
+trait A extends Object with {
+ def f : Int = 1
+}
+
+trait B extends Object with A with {
+ override def f : Int = super.f
+} \ No newline at end of file