diff options
author | Lev Walkin <vlm@lionet.info> | 2006-03-14 16:29:56 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-03-14 16:29:56 +0000 |
commit | 5a405b25c99e7ceb470bcd349a32584f92c2ddfa (patch) | |
tree | 04d1c45af127d4234b79bff39a54cc583bd1112a | |
parent | aa7f53085e23979eef19c9fca2c9e35b67e84b0f (diff) |
no comment
-rw-r--r-- | tests/97-type-identifier-SW.asn1 | 2 | ||||
-rw-r--r-- | tests/97-type-identifier-SW.asn1.-EF | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/tests/97-type-identifier-SW.asn1 b/tests/97-type-identifier-SW.asn1 index eaa2e296..a956e01e 100644 --- a/tests/97-type-identifier-SW.asn1 +++ b/tests/97-type-identifier-SW.asn1 @@ -22,7 +22,7 @@ BEGIN TYPE-IDENTIFIER ::= CLASS { &id2 OBJECT IDENTIFIER UNIQUE, &Type - } + } WITH SYNTAX { [ &Type -- comment --] IDENTIFIED BY &id2 } END diff --git a/tests/97-type-identifier-SW.asn1.-EF b/tests/97-type-identifier-SW.asn1.-EF new file mode 100644 index 00000000..71743b7a --- /dev/null +++ b/tests/97-type-identifier-SW.asn1.-EF @@ -0,0 +1,29 @@ +ModuleTypeIdentifier1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 97 1 } +DEFINITIONS ::= +BEGIN + +T1 ::= SEQUENCE { + id TYPE-IDENTIFIER.&id2, + type TYPE-IDENTIFIER.&Type +} + +TYPE-IDENTIFIER ::= CLASS { + &id2 OBJECT IDENTIFIER UNIQUE, + &Type ANY +} WITH SYNTAX { [ &Type ] IDENTIFIED BY &id2 } + + +END + +ModuleTypeIdentifier2 { iso org(3) dod(6) internet(1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 97 2 } +DEFINITIONS ::= +BEGIN + +T2 ::= SEQUENCE { + id TYPE-IDENTIFIER.&id, + type TYPE-IDENTIFIER.&Type +} + +END |