diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-10-05 06:37:42 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-10-05 06:37:42 +0000 |
commit | 26d6403d97fb519db7bf7c6fc8e09d964f216b24 (patch) | |
tree | 74ea8642999a682960c38a984ef37cfc813dd808 /tests/62-any-OK.asn1 | |
parent | 1cc0f2e5b5f816043c599d48dcdba6f883ee288a (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')
-rw-r--r-- | tests/62-any-OK.asn1 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/62-any-OK.asn1 b/tests/62-any-OK.asn1 index 7c9991bd..34d7e243 100644 --- a/tests/62-any-OK.asn1 +++ b/tests/62-any-OK.asn1 @@ -11,10 +11,24 @@ ModuleTestANYSyntax DEFINITIONS IMPLICIT TAGS ::= BEGIN - T ::= SEQUENCE { + T ::= CHOICE { + s1 T1, + s2 T2 + } + + T1 ::= SEQUENCE { i INTEGER OPTIONAL, any [1] ANY, -- Converted into [1] EXPLICIT ANY ... } + T2 ::= [16] SEQUENCE { + m1 [0] NumericString, + m2 [1] BOOLEAN, + m3 [3] SEQUENCE OF NumericString, + o4 [4] BOOLEAN OPTIONAL, + o5 [5] BOOLEAN OPTIONAL, + o6 [6] BOOLEAN OPTIONAL + } + END |