fork download
  1. class C1[T] where T : C1[T], new()
  2. {
  3. mutable p : int;
  4. public Prop : int { get {p}; protected set {p=value} }
  5. public static StM() : void
  6. {
  7. def a = T();
  8. a.Prop = 666;
  9. }
  10. }
  11. _=();
Success #stdin #stdout 0.05s 13176KB
stdin
Standard input is empty
stdout
Standard output is empty