~ubuntu-branches/ubuntu/dapper/asn1c/dapper

« back to all changes in this revision

Viewing changes to tests/37-indirect-choice-OK.asn1.-EF

  • Committer: Bazaar Package Importer
  • Author(s): W. Borgert
  • Date: 2005-05-28 12:36:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050528123642-3h6kstws5u0xcovl
Tags: upstream-0.9.14
ImportĀ upstreamĀ versionĀ 0.9.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ModuleTestIndirectChoiceFine { iso org(3) dod(6) internet(1) private(4)
 
2
        enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 37 }
 
3
DEFINITIONS IMPLICIT TAGS ::=
 
4
BEGIN
 
5
 
 
6
T ::= CHOICE {
 
7
    t-a  INTEGER,
 
8
    t-b  OCTET STRING,
 
9
    t-c  [1] EXPLICIT Choice1,
 
10
    t-d  [3] IMPLICIT Choice2
 
11
}
 
12
 
 
13
Choice1 ::= CHOICE {
 
14
    c-a  OCTET STRING,
 
15
    c-b  INTEGER
 
16
}
 
17
 
 
18
Choice2 ::= [2] EXPLICIT CHOICE {
 
19
    c-a  OCTET STRING,
 
20
    c-b  INTEGER,
 
21
    c-d  [3] EXPLICIT Choice1,
 
22
    c-e  [4] EXPLICIT Choice1
 
23
}
 
24
 
 
25
Choice3 ::= [3] EXPLICIT Choice2
 
26
 
 
27
END