/*****************************************************************
 ** @author   STF 521
 ** @version  0.0.1
 ** @purpose  1:5.4.1.3, Verify that inout prefix can be used for timer parameters
  ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/

// The following requirement is tested:
// Formal timer parameters shall be inout parameters, which can optionally be indicated by the keyword inout.

module Sem_05040103_parameters_of_kind_timer_002 {

    type component C {
    }

    function f_test(inout timer p_tmr) {
        p_tmr.timeout;
        setverdict(pass);
    }

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

    control {
        execute(TC_Sem_05040103_parameters_of_kind_timer_001());
    }
}