diff options
author | Simon Cornish <[email protected]> | 2019-02-25 13:27:15 -0800 |
---|---|---|
committer | Simon Cornish <[email protected]> | 2019-02-25 21:27:36 -0800 |
commit | 9928a3918c46c6cc412a9ce008a595d7587b0785 (patch) | |
tree | 1605e13671b18e6f0820f655ad2570a4797775e4 /lib/asn1/test/asn1_SUITE_data | |
parent | 5c9dd56af4e051003ce7b8b5dd4cf50bf9eefdbe (diff) | |
download | otp-9928a3918c46c6cc412a9ce008a595d7587b0785.tar.gz otp-9928a3918c46c6cc412a9ce008a595d7587b0785.tar.bz2 otp-9928a3918c46c6cc412a9ce008a595d7587b0785.zip |
Test compiling value of SEQUENCE OF CHOICE with extensions
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/SeqOfChoExt.asn1 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/SeqOfChoExt.asn1 b/lib/asn1/test/asn1_SUITE_data/SeqOfChoExt.asn1 new file mode 100644 index 0000000000..51077754fd --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/SeqOfChoExt.asn1 @@ -0,0 +1,27 @@ +SeqOfChoExt DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
+BEGIN
+
+Seq2 ::= SEQUENCE {
+ octstr [PRIVATE 6] OCTET STRING OPTIONAL
+}
+
+SeqOfCho ::= SEQUENCE OF CHOICE {
+ nullable NULL,
+ seq2 Seq2
+}
+
+Seq1 ::= SEQUENCE {
+ int INTEGER,
+ soc SeqOfCho
+}
+
+seq1 Seq1 ::= {
+ int 10,
+ soc {
+ seq2 : {
+ octstr '01020A'H
+ }
+ }
+}
+
+END
|