Debian Codegraph @

regression_test/compileonly/mfgen-xsd/normal/MainNormal.ttcn

raw
1 /******************************************************************************
2 * Copyright (c) 2000-2021 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 v2.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7 *
8 * Contributors:
9 * Szabo, Bence Janos
10 *
11 ******************************************************************************/
12 module MainNormal {
13
14
15 type component EmptyCT {}
16
17 const integer myInt := 5;
18
19 testcase tc_test() runs on EmptyCT {
20 var integer tempInt := myInt;
21 if (tempInt == 5) {
22 setverdict(pass);
23 } else {
24 setverdict(fail);
25 }
26 }
27
28 control {
29 execute(tc_test());
30 }
31
32 }
33