aboutsummaryrefslogtreecommitdiffstats
path: root/tests/31-set-of-OK.asn1
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
parentde6fbe049e7314f7a29ca04e9ba66e1db455d38c (diff)
set of/sequence of compile testing
Diffstat (limited to 'tests/31-set-of-OK.asn1')
-rw-r--r--tests/31-set-of-OK.asn113
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/31-set-of-OK.asn1 b/tests/31-set-of-OK.asn1
index cd108ba0..6f36c017 100644
--- a/tests/31-set-of-OK.asn1
+++ b/tests/31-set-of-OK.asn1
@@ -18,4 +18,17 @@ BEGIN
width INTEGER
}
+ -- The following clause tests OPTIONAL.
+ Stuff ::= SET {
+ trees [0] SET OF Forest OPTIONAL,
+ anything [1] SET OF
+ SEQUENCE {
+ cup-of-coffee BIT STRING,
+ ...
+ } OPTIONAL
+ -- The above OPTIONAL applies to the "anything"
+ -- member of the outer CHOICE,
+ -- not to the SET OF's embedded SEQUENCE!
+ }
+
END