/***************************************************
 ** @author   STF 487
 ** @version  0.0.1
 ** @purpose  1:5.4.2, verify that actual parameter values override default values
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/

// The following requirement is tested:
// The actual parameter of a formal parameter with default value can be skipped by using
// dash "-" as actual parameter.

module Sem_050402_actual_parameters_174 {

    type component GeneralComp {
	}

    function f_test (integer p_val := 10) {
        if (p_val != 10) { setverdict(pass); }
        else { setverdict(fail); }
    }

    testcase TC_Sem_050402_actual_parameters_174() runs on GeneralComp {
        f_test(0);
	}

	control {
		execute(TC_Sem_050402_actual_parameters_174());
	}
}
