aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1
blob: d0789d7414bb71f1718e227f3d32dc4615e48637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ChoiceBadExtension DEFINITIONS ::=
BEGIN

Seq ::= SEQUENCE {
    ...,
    name PrintableString,
    location INTEGER {home(0),field(1),roving(2)},
    age INTEGER 
    }

Cho1 ::= CHOICE {
    name PrintableString,
    ...,
    location INTEGER {home(0),field(1),roving(2)},
    age INTEGER 
    }

Cho2 ::= CHOICE {
    ...,
    name PrintableString,
    location INTEGER {home(0),field(1),roving(2)},
    age INTEGER 
    }

END