diff options
Diffstat (limited to 'tests/untried/pos/t3642')
-rw-r--r-- | tests/untried/pos/t3642/Tuppel_1.java | 7 | ||||
-rw-r--r-- | tests/untried/pos/t3642/t3642_2.scala | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/pos/t3642/Tuppel_1.java b/tests/untried/pos/t3642/Tuppel_1.java new file mode 100644 index 000000000..07c715ee9 --- /dev/null +++ b/tests/untried/pos/t3642/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/tests/untried/pos/t3642/t3642_2.scala b/tests/untried/pos/t3642/t3642_2.scala new file mode 100644 index 000000000..954795fe2 --- /dev/null +++ b/tests/untried/pos/t3642/t3642_2.scala @@ -0,0 +1,3 @@ +object T { + Tuppel_1.get +} |