aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2010-02-19 14:01:57 +0000
committerErlang/OTP <[email protected]>2010-02-19 14:01:57 +0000
commit18bd1239bee04427340a44f57f993ea92c264e41 (patch)
treedbb3031dcd2e446eb457ff7ac5229949517d7557 /lib/asn1/test/asn1_SUITE_data/PartialDecSeq.asn
parent729565dc3f8bcf8829508136498aef6a542840f4 (diff)
downloadotp-18bd1239bee04427340a44f57f993ea92c264e41.tar.gz
otp-18bd1239bee04427340a44f57f993ea92c264e41.tar.bz2
otp-18bd1239bee04427340a44f57f993ea92c264e41.zip
OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType is
added.
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