Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / namedActualParameters / inlinetemplate.ttcn
CommitLineData
970ed795 1/******************************************************************************
d44e3c4f 2 * Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 7 *
8 * Contributors:
9 * Balasko, Jeno
10 * Raduly, Csaba
11 *
970ed795
EL
12 ******************************************************************************/
13module inlinetemplate
14{
15 type component C3
16 {}
17
18 type record struct
19 {
20 integer m1,
21 integer m2
22 }
23
24 function f1( in template integer par1 )
25 {
26 }
27
28 function f2( in template struct par1 )
29 {
30 }
31
32 testcase tc3() runs on C3
33 {
34 f1( integer : 33 );
35 f2( struct : { 42, 13 } );
36 setverdict(pass);
37 }
38}
39
This page took 0.026931 seconds and 5 git commands to generate.