diff options
author | Aleksandar Prokopec <axel22@gmail.com> | 2012-05-02 16:04:44 +0200 |
---|---|---|
committer | Aleksandar Prokopec <axel22@gmail.com> | 2012-05-02 16:04:44 +0200 |
commit | 95bdd986786f42e00cac19a8659c57230a06f5d1 (patch) | |
tree | 8769cb4e6d4f20619e4266f9acef23a8f1e146c2 /test/pending/run | |
parent | 69564d46e62bfb14b79dd5351e4de52a4009e5c4 (diff) | |
download | scala-95bdd986786f42e00cac19a8659c57230a06f5d1.tar.gz scala-95bdd986786f42e00cac19a8659c57230a06f5d1.tar.bz2 scala-95bdd986786f42e00cac19a8659c57230a06f5d1.zip |
Pending test for si-5676.
Diffstat (limited to 'test/pending/run')
-rw-r--r-- | test/pending/run/t5676.flags | 1 | ||||
-rw-r--r-- | test/pending/run/t5676.scala | 25 |
2 files changed, 26 insertions, 0 deletions
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) + } + +} |