From b0a07f7860c34fbc2c23829ddacf5e68c45bf65a Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Mon, 14 Apr 2008 15:22:54 +0000 Subject: Simple pending test for virtual classes. --- test/pending/pos/virt.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/pending/pos/virt.scala (limited to 'test/pending') 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 } + } +} -- cgit v1.2.3