| 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 ModuleAMain { |
| 13 |
import from ModuleB all; |
| 14 |
import from ModuleC all; |
| 15 |
|
| 16 |
import from ModuleA2 all; |
| 17 |
import from ModuleA3 all; |
| 18 |
|
| 19 |
import from ModuleB2 all; |
| 20 |
import from ModuleB3 all; |
| 21 |
import from ModuleC2 all; |
| 22 |
import from ModuleC3 all; |
| 23 |
|
| 24 |
import from ModuleA4 all; |
| 25 |
import from ModuleB4 all; |
| 26 |
import from ModuleC4 all; |
| 27 |
|
| 28 |
const My_Integer_A a := 1; |
| 29 |
const My_Integer_B b_1 := 1; |
| 30 |
const My_Integer_C c_1 := 1; |
| 31 |
const XSDA x_1 := 1; |
| 32 |
const XSDB x_2 := 1; |
| 33 |
const XSDC x_3 := 1; |
| 34 |
|
| 35 |
function f() return integer { |
| 36 |
return a + b + c + b_1 + c_1 + a2 + b2 + c2 + x_1 + x_2 + x_3; |
| 37 |
} |
| 38 |
} |