Last sync 2016.04.01
[deliverable/titan.core.git] / function_test / Semantic_Analyser / param / param_SE.ttcn
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
7 *
8 * Contributors:
9 * Balasko, Jeno
10 * Baranyi, Botond
11 *
12 ******************************************************************************/
13 module param_SE { //^In TTCN-3 module//
14
15 function f_out(out integer x)
16 {
17 x := 0;
18 }
19
20 function f_in(in integer x) //^In function definition// //^warning: Passing an \`in\' parameter as another function\'s \`out\' parameter$//
21 {
22 f_out(x); //^In function instance// //^In actual parameter list of function// //^In parameter #1 for//
23 }
24
25 }
This page took 0.032054 seconds and 5 git commands to generate.