aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-08-23 10:39:25 +0200
committerErlang/OTP <[email protected]>2017-08-23 10:39:25 +0200
commit9685b8b517438279fb647563d4f9e42c72db24da (patch)
treecf57de7391ea31ef63004f622422362a96940993 /lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1
parent73ecd4cde263c4179e774958ce9c45cb5bfc3fad (diff)
parent17884d5d2253d72b46337c42d65a38661505a808 (diff)
downloadotp-9685b8b517438279fb647563d4f9e42c72db24da.tar.gz
otp-9685b8b517438279fb647563d4f9e42c72db24da.tar.bz2
otp-9685b8b517438279fb647563d4f9e42c72db24da.zip
Merge branch 'bjorn/asn1/broken-default-in-ext/ERIERL-60/OTP-13011' into maint-20
* bjorn/asn1/broken-default-in-ext/ERIERL-60/OTP-13011: Bump version Fix broken handling of default values in extensions for PER
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn112
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1 b/lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1
new file mode 100644
index 0000000000..67d9cb6312
--- /dev/null
+++ b/lib/asn1/test/asn1_SUITE_data/ExtensionDefault.asn1
@@ -0,0 +1,12 @@
+ExtensionDefault DEFINITIONS AUTOMATIC TAGS ::=
+
+BEGIN
+
+Message ::= SEQUENCE {
+ id INTEGER (0..5),
+ ...,
+ priority Priority DEFAULT low
+}
+Priority ::= ENUMERATED { low(0), high(1), ... }
+
+END