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:26.2, Ensure that the call statements are not allowed in the control part.
13 ** @verdict pass reject
14 *****************************************************************/
16 module NegSem_2602_TheControlPart_017 {
18 type port MyPort procedure {
20 } with {extension "internal"}
22 type component MTCComp {
26 signature MyProcedure(integer p_value, boolean p_bool);
28 template MyProcedure s_call := { 2, true }
30 function f_createComp() return MTCComp {
31 return MTCComp.create;
35 var MTCComp v_myComp := f_createComp(); // assume create was accepted
37 v_myComp.p.call(s_call);