00fb2871d8a9129e57c9952e2cb19c84a4f8c841
[deliverable/titan.core.git] / regression_test / profiler / prof3.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2015 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
9 module prof3 {
10
11 import from prof1 all;
12 import from prof2 all;
13
14 function f3() runs on C
15 {
16 var integer x := 3;
17 f1(x);
18 log(x);
19 }
20
21 testcase tc3() runs on C
22 {
23 var C otha := C.create("otha");
24 otha.start(f3());
25 var integer y := 7;
26 f2(y);
27 log(y);
28 otha.done;
29 }
30
31 control {
32 execute(tc3());
33 }
34
35 }
This page took 0.031567 seconds and 4 git commands to generate.