/***************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:11.1, Define variables in different scopes
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Sem_1101_ValueVars_001 {
    type component GeneralComp {
        timer t;
        var integer vc_i1 := 10;
    }

    altstep a_Sem_1101_ValueVars_001() runs on GeneralComp {
      var integer v_j := 12;
      [] t.timeout {
          var integer v_k := 13;
      }
    }

	function f_Sem_1101_ValueVars_001() runs on GeneralComp {
  		var integer v_i := 2;
	}

	testcase TC_Sem_1101_ValueVars_001() runs on GeneralComp {
  		var integer v_i := 3;
        f_Sem_1101_ValueVars_001();

        t.start(1.0);
        alt {
	        [] a_Sem_1101_ValueVars_001();
        }

        setverdict(pass);
	}

    control {
        var integer v_i := 1;
        execute(TC_Sem_1101_ValueVars_001());
    }
}