blob: f75f8c21270ad4fdd16183b519ad684b90455713 [file] [log] [blame]
library test;
abstract class C<T> {
T get t;
void set t(T x);
factory C(T t) = CImpl<T>;
}
class CImpl<T> implements C<T> {
T t;
CImpl._(this.t);
factory CImpl(T t) => new CImpl._(t);
}
main() {}