aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorSimon Cornish <[email protected]>2014-11-18 13:05:40 -0800
committerSimon Cornish <[email protected]>2014-11-18 15:24:14 -0800
commit0261f3bf644f97460aa92895d922376c362ee2b6 (patch)
tree1341373ad5ad01a91e7694c0e286146a4228b57a /lib/asn1/test/asn1_SUITE_data
parente61f384adff0c9b134750ee239581296d25c10cd (diff)
downloadotp-0261f3bf644f97460aa92895d922376c362ee2b6.tar.gz
otp-0261f3bf644f97460aa92895d922376c362ee2b6.tar.bz2
otp-0261f3bf644f97460aa92895d922376c362ee2b6.zip
Add test for IMPLICIT tagging when TagDefault is AUTOMATIC
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/TAGDEFAULT-AUTOMATIC.asn25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/TAGDEFAULT-AUTOMATIC.asn b/lib/asn1/test/asn1_SUITE_data/TAGDEFAULT-AUTOMATIC.asn
new file mode 100644
index 0000000000..2fcba1f71e
--- /dev/null
+++ b/lib/asn1/test/asn1_SUITE_data/TAGDEFAULT-AUTOMATIC.asn
@@ -0,0 +1,25 @@
+TAGDEFAULT-AUTOMATIC DEFINITIONS AUTOMATIC TAGS ::=
+BEGIN
+
+EXPORTS
+ Tagged,
+ Untagged,
+ Mixed
+;
+
+Tagged ::= SEQUENCE {
+ o0 [0] OCTET STRING,
+ o1 [1] OCTET STRING
+}
+
+Untagged ::= SEQUENCE {
+ o0 OCTET STRING,
+ o1 OCTET STRING
+}
+
+Mixed ::= SEQUENCE {
+ o0 OCTET STRING,
+ o2 [2] OCTET STRING
+}
+
+END