86707e67b238f1f25606b62f152ac869783d2396
[com/asn1c.git] / tests / tests-asn1c-compiler / 137-oer-string-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 -- .137
7
8 ModuleOERString
9         { iso org(3) dod(6) internet (1) private(4) enterprise(1)
10                 spelio(9363) software(1) asn1c(5) test(1) 137 }
11         DEFINITIONS IMPLICIT TAGS ::=
12 BEGIN
13
14     T ::= SEQUENCE {
15         unconstrained SEQUENCE {
16             unc-ia5         IA5String,
17             unc-utf8        UTF8String,
18             unc-universal   UniversalString
19         },
20         constrained SEQUENCE {
21             con-ia5         IA5String (SIZE(2..2)),
22             con-utf8        UTF8String (SIZE(2)),
23             con-universal   UniversalString (SIZE(2 | 2))
24         }
25     }
26
27 END