[tests] prepares Java tests for the language level raise

This commit is contained in:
Roman Shevchenko
2017-03-24 13:09:47 +01:00
parent 05b15f593e
commit 6bd1b92c6e
38 changed files with 129 additions and 166 deletions

View File

@@ -3,19 +3,19 @@ class MyTest<E> {
}
interface I<T> {
MyTest<T> _(T t);
MyTest<T> m(T t);
}
static <Y> void bar(Y arg, I<Y> i) {
i._(arg);
i.m(arg);
}
static <Y> void bar(I<Y> i, Y arg) {
i._(arg);
i.m(arg);
}
static <Y> void bar(I<Y> i) {
i._(null);
i.m(null);
}
public static void main(String[] args) {