diff options
Diffstat (limited to 'test/pending/pos/virt.scala')
-rw-r--r-- | test/pending/pos/virt.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/pos/virt.scala b/test/pending/pos/virt.scala new file mode 100644 index 0000000000..6fe21246b0 --- /dev/null +++ b/test/pending/pos/virt.scala @@ -0,0 +1,9 @@ +object Virt extends Application { + class Foo { + trait Inner <: { val x : Int = 3 } + } + + class Bar extends Foo { + trait Inner <: { val y : Int = x } + } +} |