Commit | Line | Data |
---|---|---|
970ed795 | 1 | --///////////////////////////////////////////////////////////////////////////// |
d44e3c4f | 2 | -- Copyright (c) 2000-2016 Ericsson Telecom AB |
970ed795 EL |
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 | |
d44e3c4f | 7 | -- |
8 | -- Contributors: | |
9 | -- Balasko, Jeno | |
10 | -- Kulcsar, Endre | |
11 | -- Raduly, Csaba | |
12 | -- | |
970ed795 EL |
13 | --///////////////////////////////////////////////////////////////////////////// |
14 | Test61 | |
15 | ||
16 | DEFINITIONS | |
17 | ||
18 | AUTOMATIC TAGS | |
19 | ||
20 | ::= | |
21 | ||
22 | BEGIN | |
23 | ||
24 | IMPORTS ; -- nothing | |
25 | ||
26 | MyIntegerType1 ::= INTEGER { firstnumber(-1000), secondnumber(0), othernumber(1000), lastnumber (-999) } | |
27 | ||
28 | myIntegerValue1 MyIntegerType1 ::= firstnumber | |
29 | ||
30 | myIntegerValue2 MyIntegerType1 ::= secondnumber | |
31 | ||
32 | myIntegerValue3 MyIntegerType1 ::= othernumber | |
33 | ||
34 | myIntegerValue4 MyIntegerType1 ::= lastnumber | |
35 | ||
36 | ||
37 | ||
38 | MyIntegerType2 ::= INTEGER {first(myIntegerValue1), second(myIntegerValue2),other(myIntegerValue3), last(myIntegerValue4) } | |
39 | ||
40 | myIntegerValue5 MyIntegerType2 ::= first | |
41 | ||
42 | myIntegerValue6 MyIntegerType2 ::= second | |
43 | ||
44 | myIntegerValue7 MyIntegerType2 ::= other | |
45 | ||
46 | myIntegerValue8 MyIntegerType2 ::= last | |
47 | ||
48 | END |