From 5be23003fd06ec551c30c4692bce0e91eed00725 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 27 Nov 2009 10:45:51 +0000 Subject: 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 --- test/pending/jvm/t2705/GenericInterface.java | 1 + test/pending/jvm/t2705/Methods.java | 4 ++++ test/pending/jvm/t2705/t2705.scala | 5 +++++ 3 files changed, 10 insertions(+) create mode 100644 test/pending/jvm/t2705/GenericInterface.java create mode 100644 test/pending/jvm/t2705/Methods.java create mode 100644 test/pending/jvm/t2705/t2705.scala (limited to 'test/pending/jvm/t2705') 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 { } 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 GenericInterface getGenericInterface() { return null; } + public static void acceptGenericInterface(GenericInterface 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 -- cgit v1.2.3