aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-03-14 16:29:56 +0000
committerLev Walkin <vlm@lionet.info>2006-03-14 16:29:56 +0000
commit5a405b25c99e7ceb470bcd349a32584f92c2ddfa (patch)
tree04d1c45af127d4234b79bff39a54cc583bd1112a /tests
parentaa7f53085e23979eef19c9fca2c9e35b67e84b0f (diff)
no comment
Diffstat (limited to 'tests')
-rw-r--r--tests/97-type-identifier-SW.asn12
-rw-r--r--tests/97-type-identifier-SW.asn1.-EF29
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