aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/InfObj.asn
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-10-22 10:59:13 +0200
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:26 +0100
commit09bcfc03bd2e2b2eb31f15f2410ca3b5e8e76616 (patch)
tree5e8977bb81e519b6aa520285d100dba81cf125a6 /lib/asn1/test/asn1_SUITE_data/InfObj.asn
parentb9b741b23bdaab354b2b5cc8cfb424550c2dd743 (diff)
downloadotp-09bcfc03bd2e2b2eb31f15f2410ca3b5e8e76616.tar.gz
otp-09bcfc03bd2e2b2eb31f15f2410ca3b5e8e76616.tar.bz2
otp-09bcfc03bd2e2b2eb31f15f2410ca3b5e8e76616.zip
Fix recursive get_referenced_type
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/InfObj.asn')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/InfObj.asn16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/InfObj.asn b/lib/asn1/test/asn1_SUITE_data/InfObj.asn
index 10d0040a26..420cc99c4c 100644
--- a/lib/asn1/test/asn1_SUITE_data/InfObj.asn
+++ b/lib/asn1/test/asn1_SUITE_data/InfObj.asn
@@ -424,6 +424,22 @@ TiAliasSet TI-ALIAS ::= {
...
}
+--
+-- Test using an alias for a class.
+--
+
+ALIAS-CONTAINER ::= CLASS {
+ &id INTEGER UNIQUE,
+ &obj INDIRECT-CLASS
+}
+
+INDIRECTED-CLASS ::= CLASS {
+ &id INTEGER UNIQUE,
+ &Type
+}
+
+INDIRECT-CLASS ::= INDIRECTED-CLASS
+
END