blob: 1506e8fb7acd3e7d9462c1256b2d2b6b43ba4d7a [file] [log] [blame]
class Color {
final int x;
static Color red() => Color(1);
Color(this.x);
}
class C<T> {
static C<X> foo<X>(X x) => new C<X>();
C<U> cast<U>() => new C<U>();
}
void main() {}