Tagged types inside SET OF/SEQUENCE OF test

This commit is contained in:
Lev Walkin 2004-09-14 02:46:01 +00:00
parent ec208e6cfe
commit e718e62b64
2 changed files with 19 additions and 1 deletions

View File

@ -11,7 +11,7 @@ ModuleTestSequenceSimple
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
Programming ::= SEQUENCE SIZE(1..maxSize) OF Fault
Programming ::= SEQUENCE SIZE(1..maxSize) OF [0] IMPLICIT Fault
Fault ::= SET OF Error

View File

@ -0,0 +1,18 @@
ModuleTestSequenceSimple {iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
32 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
Programming ::= SEQUENCE SIZE(1..10) OF [0] IMPLICIT Fault
Fault ::= SET OF Error
Error ::= SEQUENCE {
...
}
maxSize INTEGER ::= 10
END