/***************************************************
 ** @author   STF 487
 ** @version  0.0.1
 ** @purpose  1:5.4.1.2, verify that in template formal parameters of function can have default values
 ** @verdict  pass accept, noexecution
 ***************************************************/

// The following requirement is tested:
// In parameters may have a default template, which is given by a template instance
// assigned to the parameter.

module Sem_05040102_parameters_of_kind_template_011 {

	type component GeneralComp {
	}

    type record R
    {
        integer field1,
        integer field2
    }

    function f(template integer p_int1 := ?, in template integer p_int2 := (0..5)) {
    }
}
