aboutsummaryrefslogtreecommitdiffstats
path: root/tests/87-old-syntax-OK.asn1
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2005-08-13 09:07:11 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2005-08-13 09:07:11 +0000
commit5d89c3d0318e2c8ca5d22a26c379cba8f80f6e25 (patch)
tree788244d0b49ce030036029331dd595c865e4cb73 /tests/87-old-syntax-OK.asn1
parent931aeede61f4688cc52d9a63fe482dd75b89d888 (diff)
groking obsolete syntax
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@953 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests/87-old-syntax-OK.asn1')
-rw-r--r--tests/87-old-syntax-OK.asn129
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/87-old-syntax-OK.asn1 b/tests/87-old-syntax-OK.asn1
new file mode 100644
index 00000000..58e1a0c9
--- /dev/null
+++ b/tests/87-old-syntax-OK.asn1
@@ -0,0 +1,29 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .87
+
+ModuleObsoleteSyntax
+ { iso org(3) dod(6) internet (1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 87 }
+DEFINITIONS ::=
+BEGIN
+
+ Tc ::= CHOICE {
+ INTEGER,
+ BOOLEAN
+ }
+
+ Ts ::= SET {
+ INTEGER,
+ BOOLEAN,
+ SEQUENCE {
+ OBJECT IDENTIFIER,
+ RELATIVE-OID,
+ Tc
+ }
+ }
+
+END