f97ce2a30e315baf39aee78d9977631aeecdc791
[com/asn1c.git] / tests / tests-asn1c-compiler / 31-set-of-OK.asn1.-EF
1 ModuleTestSetOfSimple { iso org(3) dod(6) internet(1) private(4) enterprise(1)
2         spelio(9363) software(1) asn1c(5) test(1) 31 }
3 DEFINITIONS IMPLICIT TAGS ::=
4 BEGIN
5
6 Forest ::= SET OF Tree
7
8 Tree ::= SEQUENCE {
9     height       INTEGER,
10     width        INTEGER
11 }
12
13 Stuff ::= SET {
14     trees        [1] IMPLICIT SET OF Forest OPTIONAL,
15     anything     [2] IMPLICIT SET OF SEQUENCE {
16             cup-of-coffee        BIT STRING,        
17             ...
18         } OPTIONAL,
19     ...,
20     other        CHOICE {
21         a        [0] IMPLICIT INTEGER,    
22         b        [3] IMPLICIT INTEGER
23     }
24 }
25
26 END