blob: 7559f9f5b719a0801c0f94adf5780c834ceb8017 [file] [log] [blame]
/*
* Test case for Issue 138:
* https://github.com/typetools/checker-framework/issues/138
*
* Assignment and compound assignment should be treated equally for
* method type argument inference.
*/
public class Compound {
public static void one() {
long total = 0;
total = two();
total += two();
}
private static <N> long two() {
return 0;
}
}