Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / ASN1 / codeGeneration2 / Test71.asn
CommitLineData
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-- Koppany, Csaba
11-- Kulcsar, Endre
12-- Raduly, Csaba
13-- Szabados, Kristof
14--
970ed795
EL
15--/////////////////////////////////////////////////////////////////////////////
16Test71
17
18DEFINITIONS
19
20AUTOMATIC TAGS
21
22::=
23
24BEGIN
25
26IMPORTS ; -- nothing
27
28MyChoiceType1 ::= CHOICE
29 {
30 field1 INTEGER,
31 field2 BOOLEAN,
32 field3 NULL,
33 field4 OCTET STRING,
34 field5 BIT STRING,
35 field6 ENUMERATED {a,b,c},
36 field7 REAL
37 }
38
39MySelectionType1 ::= field1 < MyChoiceType1
40
41mySelectionValue1 MySelectionType1 ::= 123
42
43MySelectionType2 ::= field2 < MyChoiceType1
44
45mySelectionValue2 MySelectionType2 ::= TRUE
46
47MySelectionType3 ::= field3 < MyChoiceType1
48
49mySelectionValue3 MySelectionType3 ::= NULL
50
51MySelectionType4 ::= field4 < MyChoiceType1
52
53mySelectionValue4 MySelectionType4 ::= '1234567890ABCDEF'H
54
55MySelectionType5 ::= field5 < MyChoiceType1
56
57mySelectionValue5 MySelectionType5 ::= ''B
58
59MySelectionType6 ::= field6 < MyChoiceType1
60
61mySelectionValue6 MySelectionType6 ::= b
62
63MySelectionType7 ::= field7 < MyChoiceType1
64
65mySelectionValue7 MySelectionType7 ::= 0
66
67
68
69
70
71
72END
This page took 0.035146 seconds and 5 git commands to generate.