/***************************************************
 ** @author   STF 470
 ** @version  0.0.1
 ** @purpose  1:6.2.0.6, ensure that component type not allowed for anytype
 ** @verdict  pass reject
 ***************************************************/

module NegSyn_060206_anytype_003 {

type component MyComp{
var integer b;
}

type component GeneralComp extends MyComp {

	var anytype c;

}


testcase TC_NegSyn_060206_anytype_003() runs on GeneralComp {

b := 10;

c.MyComp:= b; // Component type is not allowed with anytype



}

control {
    execute(TC_NegSyn_060206_anytype_003());
}

}