/***************************************************
 ** @author   STF 470
 ** @version  0.0.1
 ** @purpose  1:6.2.7, ensure that the inner type referencing is correctly handled
 ** @verdict  pass reject
 ***************************************************/
module NegSem_060207_arrays_002 {

 type component GeneralComp {
 }

 type integer MyArrayType1[5] (1 .. 10);

testcase TC_NegSem_060207_arrays_002() runs on GeneralComp {

  var MyArrayType1 v_array1 := { 8, 9, 2, 3, 4, 5, 6};  // array is longer than the restricted length

}

control {
    execute(TC_NegSem_060207_arrays_002());
}

}
