blob: 6ee700594de12c1e18839872c86c3e57c3e6d0d3 [file] [log] [blame]
abstract class C {
abstract final int? _f1;
abstract int? _f2;
}
class D {
final int? _f1;
final int? _f2;
D(int i) : _f1 = i, _f2 = i;
}
void acceptsInt(int x) {}
void testAbstractFinalFieldIsPromotable(C c) {}
void testAbstractNonFinalFieldIsNotPromotable(C c) {}
void testAbstractFinalFieldDoesNotBlockPromotionElsewhere(D d) {}
void testAbstractNonFinalFieldBlocksPromotionElsewhere(D d) {}
main() {}