diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-14 15:22:54 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-14 15:22:54 +0000 |
commit | b0a07f7860c34fbc2c23829ddacf5e68c45bf65a (patch) | |
tree | 23e109efdc796be211f1674317b7536a0af6fa4c /test/pending | |
parent | c0090ac04b035db94a4febd9bfbc7e9e28efa29a (diff) | |
download | scala-b0a07f7860c34fbc2c23829ddacf5e68c45bf65a.tar.gz scala-b0a07f7860c34fbc2c23829ddacf5e68c45bf65a.tar.bz2 scala-b0a07f7860c34fbc2c23829ddacf5e68c45bf65a.zip |
Simple pending test for virtual classes.
Diffstat (limited to 'test/pending')
-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 } + } +} |