objecttemplateParents{// traits do not call a constructorclassC[+T](x:T)traitDextendsC[String]traitEextendsC[Int]newC("abc")withD}objecttemplateParents1{// tests inference of synthesized class typeclassC[+T]traitDextendsC[String]traitEextendsC[Int]valx=newDwithEvaly:C[Int&String]=x}