aboutsummaryrefslogtreecommitdiffstats
path: root/tests/62-any-OK.asn1.-EF
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2004-10-05 06:37:42 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2004-10-05 06:37:42 +0000
commit26d6403d97fb519db7bf7c6fc8e09d964f216b24 (patch)
tree74ea8642999a682960c38a984ef37cfc813dd808 /tests/62-any-OK.asn1.-EF
parent1cc0f2e5b5f816043c599d48dcdba6f883ee288a (diff)
new subtype
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@491 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests/62-any-OK.asn1.-EF')
-rw-r--r--tests/62-any-OK.asn1.-EF16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/62-any-OK.asn1.-EF b/tests/62-any-OK.asn1.-EF
index 76549a69..22a64bbe 100644
--- a/tests/62-any-OK.asn1.-EF
+++ b/tests/62-any-OK.asn1.-EF
@@ -4,10 +4,24 @@ ModuleTestANYSyntax {iso org(3) dod(6) internet(1) private(4)
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-T ::= SEQUENCE {
+T ::= CHOICE {
+ s1 T1,
+ s2 T2
+}
+
+T1 ::= SEQUENCE {
i INTEGER OPTIONAL,
any [1] EXPLICIT ANY,
...
}
+T2 ::= [16] IMPLICIT SEQUENCE {
+ m1 [0] IMPLICIT NumericString,
+ m2 [1] IMPLICIT BOOLEAN,
+ m3 [3] IMPLICIT SEQUENCE OF NumericString,
+ o4 [4] IMPLICIT BOOLEAN OPTIONAL,
+ o5 [5] IMPLICIT BOOLEAN OPTIONAL,
+ o6 [6] IMPLICIT BOOLEAN OPTIONAL
+}
+
END