1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * Adrien Kirjak – initial implementation
12 ** @purpose 1:5.4.1.2, verify that default template instance of template formal parameters cannot invoke functions with runs on clause
13 ** @verdict pass reject
14 ***************************************************/
16 // The following requirement is tested:
18 // The template instance shall not contain the invocation of functions with a runs on clause.
20 module NegSem_05040102_parameters_of_kind_value_010 {
21 type component GeneralComp {
25 function fx() runs on GeneralComp return integer {
29 function f(in template integer p_int := fx()) runs on GeneralComp {
33 testcase TC_NegSem_05040101_parameters_of_kind_value_010() runs on GeneralComp {
39 execute(TC_NegSem_05040101_parameters_of_kind_value_010());