blob: 1b8090f7d22aac2eabdcd76e657cb50c79fd797d [file] [log] [blame]
// @dart = 2.9
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() {}