diff options
Diffstat (limited to 'tests/untried/pos/t3486')
-rw-r--r-- | tests/untried/pos/t3486/JTest.java | 3 | ||||
-rw-r--r-- | tests/untried/pos/t3486/test.scala | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t3486/JTest.java b/tests/untried/pos/t3486/JTest.java new file mode 100644 index 000000000..0bf388b72 --- /dev/null +++ b/tests/untried/pos/t3486/JTest.java @@ -0,0 +1,3 @@ +public class JTest<A> extends T2<A> { + public A m( A a ) { return a; } +}
\ No newline at end of file diff --git a/tests/untried/pos/t3486/test.scala b/tests/untried/pos/t3486/test.scala new file mode 100644 index 000000000..d4534e29f --- /dev/null +++ b/tests/untried/pos/t3486/test.scala @@ -0,0 +1,6 @@ +trait Test[A] { + def m( a: A ): A + def specified(a:A):A = a +} + +abstract class T2[A] extends Test[A] |