64d340e264b37fc95271c3b625abdd5f7936cf3a
[com/asn1c.git] / tests / tests-asn1c-compiler / 71-duplicate-types-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 -- .71 1
7 -- .71 2
8
9 ModuleDuplicateTypes1
10         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
11                 spelio(9363) software(1) asn1c(5) test(1) 71 1 }
12         DEFINITIONS ::=
13 BEGIN
14
15         Type ::= INTEGER        -- Original type.
16
17 END
18
19 ModuleDuplicateTypes2
20         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
21                 spelio(9363) software(1) asn1c(5) test(1) 71 2 }
22         DEFINITIONS ::=
23 BEGIN
24
25         Type ::= INTEGER        -- A duplicate type.
26
27 END