/*****************************************************************
 ** @author   STF 521
 ** @version  0.0.1
 ** @purpose  1:5.4.1.1, Verify that altstep can have timer parameters
  ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/

// The following requirement is tested:
// Only function and altstep definitions may have formal timer parameters, with the exception of functions or
// altsteps started as test component behaviour (see clause 21.3.2).

module Sem_05040101_parameters_of_kind_value_034 {

    type component C {
    }

    altstep a_test(timer p_tmr) {
        [] p_tmr.timeout {
			setverdict(pass);
		}
    }

    testcase TC_Sem_05040101_parameters_of_kind_value_034() runs on C {
    	timer t_tmr := 0.1;
        t_tmr.start;
        a_test(t_tmr);
    }

    control {
        execute(TC_Sem_05040101_parameters_of_kind_value_034());
    }
}