aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-06 08:05:23 +0000
committerLev Walkin <vlm@lionet.info>2004-09-06 08:05:23 +0000
commit88b89365fab32160c859d91f5c757be80b25b011 (patch)
tree1173a6072b7b6ec60a5998af24d569898169dfae /tests
parent0d91c480b24098be52a063539574f2ed0d001ec9 (diff)
test OBJECT IDENTIFIER reference to itself
Diffstat (limited to 'tests')
-rw-r--r--tests/64-oid-constr-OK.asn118
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/64-oid-constr-OK.asn1 b/tests/64-oid-constr-OK.asn1
new file mode 100644
index 00000000..f6cb41dd
--- /dev/null
+++ b/tests/64-oid-constr-OK.asn1
@@ -0,0 +1,18 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .64
+
+ModuleTestOIDConstraint
+ { iso org(3) dod(6) internet(1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 64 }
+ DEFINITIONS ::=
+BEGIN
+
+ void OBJECT IDENTIFIER ::= { v 1 3 6 1 4 1 9363 1 5 1 64 1 1 }
+
+ Id ::= OBJECT IDENTIFIER (void)
+
+END