diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-11-27 10:45:51 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2009-11-27 10:45:51 +0000 |
commit | 5be23003fd06ec551c30c4692bce0e91eed00725 (patch) | |
tree | d9b44da5d66e6e24cdfc72169e8c4498b2a2a08f /test/pending | |
parent | b06fc095fcde65af1c7db11feb1dc37cf91beca7 (diff) | |
download | scala-5be23003fd06ec551c30c4692bce0e91eed00725.tar.gz scala-5be23003fd06ec551c30c4692bce0e91eed00725.tar.bz2 scala-5be23003fd06ec551c30c4692bce0e91eed00725.zip |
tests in pending for see #2705 -- note that par...
tests in pending for see #2705 -- note that partest does not work for jvm tests under pending, move to files and it works, see #2711
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/jvm/t2705/GenericInterface.java | 1 | ||||
-rw-r--r-- | test/pending/jvm/t2705/Methods.java | 4 | ||||
-rw-r--r-- | test/pending/jvm/t2705/t2705.scala | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test/pending/jvm/t2705/GenericInterface.java b/test/pending/jvm/t2705/GenericInterface.java new file mode 100644 index 0000000000..ff4ecd403d --- /dev/null +++ b/test/pending/jvm/t2705/GenericInterface.java @@ -0,0 +1 @@ +public interface GenericInterface<T> { } diff --git a/test/pending/jvm/t2705/Methods.java b/test/pending/jvm/t2705/Methods.java new file mode 100644 index 0000000000..00eed6c595 --- /dev/null +++ b/test/pending/jvm/t2705/Methods.java @@ -0,0 +1,4 @@ +public class Methods { + public static <T> GenericInterface<T> getGenericInterface() { return null; } + public static <T> void acceptGenericInterface(GenericInterface<? super T> gi) { } +}
\ No newline at end of file diff --git a/test/pending/jvm/t2705/t2705.scala b/test/pending/jvm/t2705/t2705.scala new file mode 100644 index 0000000000..cc3cfd9faf --- /dev/null +++ b/test/pending/jvm/t2705/t2705.scala @@ -0,0 +1,5 @@ +class GenericsCompilerCrashTest { + def test() { + Methods.acceptGenericInterface(Methods.getGenericInterface()) + } +}
\ No newline at end of file |