From 5a405b25c99e7ceb470bcd349a32584f92c2ddfa Mon Sep 17 00:00:00 2001 From: Lev Walkin <vlm@lionet.info> Date: Tue, 14 Mar 2006 16:29:56 +0000 Subject: [PATCH] no comment --- tests/97-type-identifier-SW.asn1 | 2 +- tests/97-type-identifier-SW.asn1.-EF | 29 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 tests/97-type-identifier-SW.asn1.-EF 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 -- GitLab