8cbdb48c90fea2f7fae7f4244512d0905eec2701
[com/asn1c.git] / tests / tests-asn1c-compiler / 132-per-choice-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 -- .132
7
8 ModulePERChoice
9         { iso org(3) dod(6) internet (1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 132 }
11         DEFINITIONS AUTOMATIC TAGS ::=
12 BEGIN
13
14         T ::= CHOICE {
15                 first [1] CHOICE {
16                         nothing INTEGER (5..10)
17                 },
18                 second [0] INTEGER (-10..10)
19         }
20
21 END