/***************************************************
 ** @author   STF 487
 ** @version  0.0.1
 ** @purpose  1:5.4.1.1, verify that modified template cannot used dash as default value when original value parameter had no default value
 ** @verdict  pass reject
 ***************************************************/

// The following requirement is tested:
// Formal parameters of modified templates may inherit the default values from the corresponding
// parameters of their parent templates; this shall explicitly be denoted by using a dash (don't
// change) symbol at the place of the modified template parameters' default value.

module NegSem_05040101_parameters_of_kind_value_002 {

	type component GeneralComp {
	}

    type record R
    {
        integer field1,
        integer field2
    }

    template R m_t(integer p_int1, in integer p_int2 := 4) := {
        field1 := p_int1,
        field2 := p_int2
    }

    template R m_tmod(integer p_int1 := -, in integer p_int2 := 6) modifies m_t := {
        field1 := p_int1,
        field2 := p_int2
    }
}
