/***************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:6.3.1, Ensure that the IUT correctly handles assignments from compatible size restrictions
 ** @verdict  pass reject
 ***************************************************/

module NegSem_060301_non_structured_types_008 {
    type float ConstrainedFloat[1];

type component GeneralComp {
}

testcase TC_NegSem_060301_non_structured_types_008() runs on GeneralComp {

    var integer v_float[2]:={5.0,4.0};
    var ConstrainedFloat v_constrainedFloat;


    v_constrainedFloat:=v_float; // length 2 array assigned to length 1 array type
}

control{
    execute(TC_NegSem_060301_non_structured_types_008());
}

}
