summaryrefslogtreecommitdiff
path: root/test-nsc/files/pos/thistypes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test-nsc/files/pos/thistypes.scala')
-rwxr-xr-xtest-nsc/files/pos/thistypes.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-nsc/files/pos/thistypes.scala b/test-nsc/files/pos/thistypes.scala
new file mode 100755
index 0000000000..4a68ba3e65
--- /dev/null
+++ b/test-nsc/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