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