source: trunk/t3q-examples/checkFunctionsModuleContainmentCheck/checkFunctionsModuleContainmentBad.ttcn3 @ 58

Last change on this file since 58 was 4, checked in by phdmakk, 15 years ago
File size: 571 bytes
Line 
1module checkFunctionsModuleContainmentBad {
2    import from LibCommon_time all;
3
4    // good part, only functions and altsteps
5
6    function f_1 () {
7    }
8
9    altstep a_1 () {
10    }
11
12    //bad part
13
14    type record typeA {
15        integer field1,
16        boolean feild2
17    }
18
19    group GroupedDefs {
20        function f_2 () {
21        }
22        altstep a_2 () {
23        }
24        const integer c_1 := 1;
25    }
26
27    //configurable part
28    //depending on the configuration external functions
29    //may (default) or may not be allowed
30
31    external function ef_1 ();
32
33}
Note: See TracBrowser for help on using the repository browser.