diff options
Diffstat (limited to 'test/files/pos/bug3642')
-rw-r--r-- | test/files/pos/bug3642/Tuppel_1.java | 7 | ||||
-rw-r--r-- | test/files/pos/bug3642/bug3642_2.scala | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/bug3642/Tuppel_1.java b/test/files/pos/bug3642/Tuppel_1.java new file mode 100644 index 0000000000..07c715ee90 --- /dev/null +++ b/test/files/pos/bug3642/Tuppel_1.java @@ -0,0 +1,7 @@ +public class Tuppel_1<T> { + private Tuppel_1(){} + + public static <A> Tuppel_1<A> get() { + return new Tuppel_1<A>() {}; + } +}
\ No newline at end of file diff --git a/test/files/pos/bug3642/bug3642_2.scala b/test/files/pos/bug3642/bug3642_2.scala new file mode 100644 index 0000000000..0892e508a5 --- /dev/null +++ b/test/files/pos/bug3642/bug3642_2.scala @@ -0,0 +1,3 @@ +object T { + Tuppel_1.get +}
\ No newline at end of file |