blob: 41cf2ff1136760de97010cb0495b2d8ad37f6c86 [file] [log] [blame]
// Test case for Issue 132:
// https://github.com/typetools/checker-framework/issues/132
// Method type argument inference test case.
public class GenericTest2 {
public interface Data<S> {}
public interface DataUtils {
<T> Data<T> makeData(T value);
}
public <U> void test(U value, DataUtils utils) {
Data<? extends U> data = utils.makeData(value);
}
}