blob: 82bbf00c7a3124d9c63e75b893604d79e43cfcaf [file] [log] [blame]
package pck;
class BaseMatcher<T> {
}
class MyMatcher extends BaseMatcher<String> {
}
class Expectations {
public <T> T with(T t) {
System.out.println("T");
return null;
}
public <T> T with(BaseMatcher<T> m) {
return null;
}
public static void main(String[] args) {
MyMatcher t = new MyMatcher();
String w = new Expectations().with( t);
}
}