aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-11-03 15:51:40 +0100
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:26 +0100
commitd17a84df58177143c89180aeb85373e0d5504210 (patch)
tree644bee3b5cb934dd2c0ba2a36a64aa47967622c2 /lib/asn1/test/asn1_SUITE_data
parent6a72b71b69f1a41166cb6984607cca7bbbe38f43 (diff)
downloadotp-d17a84df58177143c89180aeb85373e0d5504210.tar.gz
otp-d17a84df58177143c89180aeb85373e0d5504210.tar.bz2
otp-d17a84df58177143c89180aeb85373e0d5504210.zip
Correct another bug with instantiated types
a1260b2ffa60581ce3af0728320b593cca3fd7b0 fixed a problem with expansion of parameterized types, but it didn't go all the way. The compiler would still crash if we attempted to define a value using the instantiated type.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/ParamBasic.asn13
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/ParamBasic.asn1 b/lib/asn1/test/asn1_SUITE_data/ParamBasic.asn1
index f175aabd26..d203b6c816 100644
--- a/lib/asn1/test/asn1_SUITE_data/ParamBasic.asn1
+++ b/lib/asn1/test/asn1_SUITE_data/ParamBasic.asn1
@@ -42,6 +42,9 @@ SIGNATURE-ALGORITHM ::= CLASS {
KEY &id CONTAINING &Type
}
+alg-seq-1 AnAlgorithm ::= { algorithm 1, type 42 }
+alg-seq-2 AnAlgorithm ::= { algorithm 2, type TRUE }
+
--
-- Test that indirect classes references are resolved.
--