b1fb585e550ade2ff72c645aab76d3dcd7b03f53
[com/asn1c.git] / tests / tests-asn1c-compiler / 93-asn1c-controls-OK.asn1
1
2 -- OK: Everything is fine
3
4 -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
5 -- .spelio.software.asn1c.test (9363.1.5.1)
6 -- .93
7
8 Module-asn1c-controls
9         { iso org(3) dod(6) internet (1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 93 }
11 DEFINITIONS AUTOMATIC TAGS ::=
12 BEGIN
13
14         Sequence ::= SEQUENCE {
15                 ainl INTEGER,
16                 --<ASN1C.RepresentAsPointer>--
17                 aptr INTEGER
18         }
19
20         Set ::= SET {
21                 ainl Sequence,
22                 --<ASN1C.RepresentAsPointer>--
23                 aptr Sequence
24         }
25
26         Choice ::= CHOICE {
27                 --<ASN1C.RepresentAsPointer>--
28                 setof SET OF INTEGER,
29                 --<ASN1C.RepresentAsPointer>--
30                 aptr Sequence,
31                 ainl Sequence
32         }
33
34 END