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

module NegSem_060301_non_structured_types_004 {
    type universal charstring ConstrainedUChar (char(0, 0, 1, 111) .. char(0, 0, 1, 113));

type component GeneralComp {
}

testcase TC_NegSem_060301_non_structured_types_004() runs on GeneralComp {

    var universal charstring v_uChar := char(0, 0, 1, 122);
    var ConstrainedUChar v_constrainedUChar;


    v_constrainedUChar:=v_uChar; // char not in range

}

control{
    execute(TC_NegSem_060301_non_structured_types_004());
}

}
