diff options
Diffstat (limited to 'test/files/pos/nested2.scala')
-rwxr-xr-x | test/files/pos/nested2.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/nested2.scala b/test/files/pos/nested2.scala new file mode 100755 index 0000000000..302688a0ef --- /dev/null +++ b/test/files/pos/nested2.scala @@ -0,0 +1,9 @@ +class C[A] { + class D[B] { + } +} + +object Test { + val x = new C[String] + val y: C[String]#D[int] = new x.D[int] +} |