1eda767057db5f663606a9dc82c30d9509aa8904
[com/asn1c.git] / tests / tests-asn1c-compiler / 09-int-SE.asn1
1
2 -- SE: Semantic error
3
4 -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
5 -- .spelio.software.asn1c.test (9363.1.5.1)
6 -- .9
7
8 ModuleTestInt3
9         { iso org(3) dod(6) internet (1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 9 }
11         DEFINITIONS ::=
12 BEGIN
13
14         Reason ::= INTEGER {
15                         value1(1),
16                         value5(5),
17                         value2-1(1)     -- integers must be distinct --
18                 }
19
20 END