aboutsummaryrefslogtreecommitdiffstats
path: root/tests/31-set-of-OK.asn1.-EF
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-22 03:18:17 +0000
committerLev Walkin <vlm@lionet.info>2004-08-22 03:18:17 +0000
commit03ba3e9b015c52fb82e9dd4999f442287ed42004 (patch)
treed5d0d8e22bd9d3efa84abd1b66d509711eb430af /tests/31-set-of-OK.asn1.-EF
parentde6fbe049e7314f7a29ca04e9ba66e1db455d38c (diff)
set of/sequence of compile testing
Diffstat (limited to 'tests/31-set-of-OK.asn1.-EF')
-rw-r--r--tests/31-set-of-OK.asn1.-EF23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/31-set-of-OK.asn1.-EF b/tests/31-set-of-OK.asn1.-EF
new file mode 100644
index 00000000..34d34018
--- /dev/null
+++ b/tests/31-set-of-OK.asn1.-EF
@@ -0,0 +1,23 @@
+
+ModuleTestSetOfSimple {iso(-1) org(3) dod(6) internet(1) private(4)
+ enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
+ 31 }
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+Forest ::= SET OF Tree
+
+Tree ::= SEQUENCE {
+ height INTEGER,
+ width INTEGER
+}
+
+Stuff ::= SET {
+ trees [0] IMPLICIT SET OF Forest OPTIONAL,
+ anything [1] IMPLICIT SET OF SEQUENCE {
+ cup-of-coffee BIT STRING,
+ ...
+ } OPTIONAL
+}
+
+END