blob: 6a2a6b3bc7de5b88c4ee9e972f8d8b233c669b7c [file] [log] [blame]
// Test case for issue #3711: https://github.com/typetools/checker-framework/issues/3711
public class CharToFloat {
void castCharacter(Object o) {
floatParameter((Character) o);
doubleParameter((Character) o);
}
void passCharacter(Character c) {
floatParameter(c);
doubleParameter(c);
}
void floatParameter(float f) {}
void doubleParameter(double d) {}
}