source:
branches/t3e-tools/t3q-examples/checkTemplatesModuleContainmentCheck/checkTemplatesModuleContainmentBad.ttcn3
@
33
Last change on this file since 33 was 4, checked in by phdmakk, 14 years ago | |
---|---|
File size: 447 bytes |
Line | |
---|---|
1 | module checkTemplatesModuleContainmentBad { |
2 | import from LibCommon_time all; |
3 | |
4 | // good part, only templates |
5 | template MyRecordType t_1 := { |
6 | field1 := 1, |
7 | field2 := "a", |
8 | field3 :=true |
9 | } |
10 | |
11 | template integer t_2 := (0,1,2,3,4,5,6,7); |
12 | |
13 | |
14 | group GroupedDefs{ |
15 | template integer t_3 :=(0 .. 10); |
16 | //bad part |
17 | const integer c_1 := 2; |
18 | |
19 | } |
20 | |
21 | //bad part |
22 | function f_2(){ |
23 | } |
24 | |
25 | } |
Note: See TracBrowser
for help on using the repository browser.