From 95bdd986786f42e00cac19a8659c57230a06f5d1 Mon Sep 17 00:00:00 2001 From: Aleksandar Prokopec Date: Wed, 2 May 2012 16:04:44 +0200 Subject: Pending test for si-5676. --- test/pending/run/t5676.flags | 1 + test/pending/run/t5676.scala | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 test/pending/run/t5676.flags create mode 100644 test/pending/run/t5676.scala (limited to 'test') diff --git a/test/pending/run/t5676.flags b/test/pending/run/t5676.flags new file mode 100644 index 0000000000..e1b37447c9 --- /dev/null +++ b/test/pending/run/t5676.flags @@ -0,0 +1 @@ +-Xexperimental \ No newline at end of file diff --git a/test/pending/run/t5676.scala b/test/pending/run/t5676.scala new file mode 100644 index 0000000000..3ff498eaa2 --- /dev/null +++ b/test/pending/run/t5676.scala @@ -0,0 +1,25 @@ + + + + +class Bar[T] + + +class Foo[T] { + object A extends Bar[T] +} + + +class Baz[S] extends Foo[S] { + override object A extends Bar[S] +} + + +object Test { + + def main(a: Array[String]) { + val b = new Baz[Any] + println(b) + } + +} -- cgit v1.2.3