diff --git a/tests/97-type-identifier-SW.asn1 b/tests/97-type-identifier-SW.asn1 index eaa2e29623d8554863c590218e0ed14093c49c8d..a956e01e686e224415b4b56a6dd1de6b06ae5bf6 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 0000000000000000000000000000000000000000..71743b7abd72a88d239fcbdb4ae0f71ef4505d62 --- /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