summaryrefslogtreecommitdiff
path: root/test/files/neg/t1623.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t1623.scala')
-rw-r--r--test/files/neg/t1623.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/t1623.scala b/test/files/neg/t1623.scala
new file mode 100644
index 0000000000..f5189aa4ca
--- /dev/null
+++ b/test/files/neg/t1623.scala
@@ -0,0 +1,12 @@
+package test
+
+trait A
+trait B
+
+class BImpl extends B {
+ this: A =>
+}
+
+object Test2 extends App {
+ val b = new BImpl
+}