From 562647a37a6675fbf328f72e081a7f88913dd004 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 30 May 2008 18:00:25 +0000 Subject: fixed #807. More stuff for virtual classes. --- test/pending/run/t0807.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/pending/run/t0807.scala (limited to 'test') diff --git a/test/pending/run/t0807.scala b/test/pending/run/t0807.scala new file mode 100644 index 0000000000..e69aa1c71c --- /dev/null +++ b/test/pending/run/t0807.scala @@ -0,0 +1,5 @@ +trait A +trait B extends A { val x = println("early") } +object Test extends Application { + new B {} +} -- cgit v1.2.3