summaryrefslogtreecommitdiff
path: root/test/files/neg/t5358.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5358.scala')
-rw-r--r--test/files/neg/t5358.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t5358.scala b/test/files/neg/t5358.scala
new file mode 100644
index 0000000000..13d827ed82
--- /dev/null
+++ b/test/files/neg/t5358.scala
@@ -0,0 +1,4 @@
+trait A { def hi = "A" }
+trait B { def hi = "B" }
+class C extends A with B
+