/***************************************************
 ** @author   STF 470
 ** @version  0.0.1
 ** @purpose  1:6.2.7, ensure that array field cannot contain an empty index
 ** @verdict  pass reject
 ***************************************************/
module NegSyn_060207_arrays_002 {

 type component GeneralComp {
    }


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


 testcase TC_NegSyn_060207_arrays_002() runs on GeneralComp {

  var MyArrayType1 v_array1 := { 8, 10, 2, 3, 4};
  var integer i :=v_array1[];// error expected - missing index
    }

 control {
  execute(TC_NegSyn_060207_arrays_002());
 }

}