aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t211.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t211.scala')
-rw-r--r--tests/untried/pos/t211.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/pos/t211.scala b/tests/untried/pos/t211.scala
new file mode 100644
index 000000000..d51c9706d
--- /dev/null
+++ b/tests/untried/pos/t211.scala
@@ -0,0 +1,8 @@
+trait A;
+trait B;
+class Foo extends A with B { self: A with B => }
+object Test extends App {
+ new Foo();
+ Console.println("t211 completed");
+}
+