aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testParamBasic.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-10-28 12:52:12 +0100
committerBjörn Gustavsson <[email protected]>2015-01-12 11:40:26 +0100
commit1c79a4fd03cea47d20f5de00bbdaa8b8bd025ad0 (patch)
treeccba0cbed827aa3a9826e28e4bc41df7e6437d02 /lib/asn1/test/testParamBasic.erl
parent09bcfc03bd2e2b2eb31f15f2410ca3b5e8e76616 (diff)
downloadotp-1c79a4fd03cea47d20f5de00bbdaa8b8bd025ad0.tar.gz
otp-1c79a4fd03cea47d20f5de00bbdaa8b8bd025ad0.tar.bz2
otp-1c79a4fd03cea47d20f5de00bbdaa8b8bd025ad0.zip
Use recursive get_referenced_type to get classdef directly
To be sure that indirect references to classes are solved.
Diffstat (limited to 'lib/asn1/test/testParamBasic.erl')
-rw-r--r--lib/asn1/test/testParamBasic.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/asn1/test/testParamBasic.erl b/lib/asn1/test/testParamBasic.erl
index 39f7947e8d..52c6426414 100644
--- a/lib/asn1/test/testParamBasic.erl
+++ b/lib/asn1/test/testParamBasic.erl
@@ -46,6 +46,10 @@ main(Rules) ->
roundtrip('AnAlgorithm', {'AnAlgorithm',1,42}),
roundtrip('AnAlgorithm', {'AnAlgorithm',2,true}),
roundtrip('AnAlgorithm', {'AnAlgorithm',2,false}),
+
+ roundtrip('Seq', {'Seq',
+ {'Seq_c1',{2,1,1},42},
+ {'Seq_c2',{2,1,1,1},asn1_NOVALUE}}),
ok.
roundtrip(Type, Value) ->