summaryrefslogtreecommitdiff
path: root/test/files/pos/thistypes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/thistypes.scala')
-rw-r--r--test/files/pos/thistypes.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/thistypes.scala b/test/files/pos/thistypes.scala
new file mode 100644
index 0000000000..4a68ba3e65
--- /dev/null
+++ b/test/files/pos/thistypes.scala
@@ -0,0 +1,8 @@
+trait B {
+ trait I {}
+ def foo: B.this.I;
+}
+
+trait C extends B {
+ def foo: C.this.I;
+} \ No newline at end of file