aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn b/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
new file mode 100644
index 0000000000..17844f12b9
--- /dev/null
+++ b/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
@@ -0,0 +1,34 @@
+PartialDecSeq DEFINITIONS AUTOMATIC TAGS ::=
+
+BEGIN
+
+A ::= SEQUENCE {
+ a INTEGER DEFAULT 15,
+ b [0] B DEFAULT {a 12, b TRUE}
+}
+
+C ::= [11] EXPLICIT D
+B ::= [12] C
+D ::= SEQUENCE {
+ a INTEGER,
+ b BOOLEAN
+}
+
+F ::= CHOICE {
+ fa INTEGER,
+ fb E --161
+}
+
+E ::= SEQUENCE {
+ a INTEGER, -- matched
+ b SEQUENCE OF D, -- matched value of component a of first D in E_b
+ c BOOLEAN OPTIONAL,
+ d CHOICE {
+ da SEQUENCE OF A,
+ db INTEGER,
+ dc [3] SET {dca INTEGER,dcb BOOLEAN, dcc SEQUENCE{dcca INTEGER,dccb INTEGER}}
+ }
+}
+
+
+END