bb2c8bf7c483457294880a726a0d5b9bf97d9029
[com/asn1c.git] / tests / tests-asn1c-compiler / 57-components-of-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 -- .57
7
8 ModuleTestComponentsOfCrossModule1
9         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 57 1 }
11         DEFINITIONS AUTOMATIC TAGS ::=
12 BEGIN
13
14         SecondType ::= SEQUENCE {
15                 a       IA5String,
16                 COMPONENTS OF ModuleTestComponentsOfCrossModule2.OneType,
17                 b       UniversalString
18         }
19
20 END
21
22 ModuleTestComponentsOfCrossModule2
23         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
24                 spelio(9363) software(1) asn1c(5) test(1) 57 2 }
25         DEFINITIONS EXPLICIT TAGS ::=
26 BEGIN
27
28         OneType ::= SEQUENCE {
29                 x       T1,
30                 y       T2,
31                 z       T3
32         }
33
34         T1 ::= INTEGER
35         T2 ::= INTEGER
36         T3 ::= INTEGER
37
38 END