summaryrefslogtreecommitdiff
path: root/test/pos/michel5.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/michel5.scala')
-rw-r--r--test/pos/michel5.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pos/michel5.scala b/test/pos/michel5.scala
new file mode 100644
index 0000000000..2045737fc4
--- /dev/null
+++ b/test/pos/michel5.scala
@@ -0,0 +1,5 @@
+trait A[Ta] { }
+
+class B() extends Object with A[Int] with {
+ val x : Int = 2
+} \ No newline at end of file