Commit | Line | Data |
---|---|---|
970ed795 | 1 | --///////////////////////////////////////////////////////////////////////////// |
3abe9331 | 2 | -- Copyright (c) 2000-2015 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 | |
7 | --///////////////////////////////////////////////////////////////////////////// | |
8 | Test8A -- A | |
9 | DEFINITIONS | |
10 | ||
11 | AUTOMATIC TAGS | |
12 | ||
13 | ||
14 | ::= | |
15 | ||
16 | BEGIN | |
17 | ||
18 | IMPORTS ; -- nothing | |
19 | ||
20 | MySequenceType1 ::= SEQUENCE | |
21 | { | |
22 | field1 INTEGER OPTIONAL, | |
23 | field2 BOOLEAN OPTIONAL, | |
24 | field3 CHOICE { | |
25 | f1 OCTET STRING, | |
26 | f2 BIT STRING | |
27 | } | |
28 | } | |
29 | ||
30 | MySetType1 ::= SET | |
31 | { | |
32 | field1 INTEGER OPTIONAL, | |
33 | field2 BOOLEAN OPTIONAL, | |
34 | field3 CHOICE { | |
35 | f1 OCTET STRING, | |
36 | f2 BIT STRING | |
37 | } | |
38 | } | |
39 | ||
40 | ||
41 | MySequenceType2 ::= SEQUENCE | |
42 | { | |
43 | field1 INTEGER OPTIONAL, | |
44 | field2 BOOLEAN OPTIONAL, | |
45 | field3 MyChoiceType | |
46 | } | |
47 | ||
48 | MySetType2 ::= SET | |
49 | { | |
50 | field1 INTEGER OPTIONAL, | |
51 | field2 BOOLEAN OPTIONAL, | |
52 | field3 MyChoiceType | |
53 | } | |
54 | ||
55 | ||
56 | ||
57 | MyChoiceType ::= CHOICE | |
58 | { | |
59 | field1 INTEGER, | |
60 | field2 BOOLEAN | |
61 | } | |
62 | ||
63 | ||
64 | ||
65 | ||
66 | END |