aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-14 02:46:01 +0000
committerLev Walkin <vlm@lionet.info>2004-09-14 02:46:01 +0000
commite718e62b6496b1cdfa5899e4e4dcf4bde2c0ee53 (patch)
treeb9e035c1b0ef98c218c9ae8186a1ec011e46eb1a /tests
parentec208e6cfe81ff52fe506aabaa2f7cad1b157c72 (diff)
Tagged types inside SET OF/SEQUENCE OF test
Diffstat (limited to 'tests')
-rw-r--r--tests/32-sequence-of-OK.asn12
-rw-r--r--tests/32-sequence-of-OK.asn1.-EF18
2 files changed, 19 insertions, 1 deletions
diff --git a/tests/32-sequence-of-OK.asn1 b/tests/32-sequence-of-OK.asn1
index cd16118c..2b82127f 100644
--- a/tests/32-sequence-of-OK.asn1
+++ b/tests/32-sequence-of-OK.asn1
@@ -11,7 +11,7 @@ ModuleTestSequenceSimple
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
- Programming ::= SEQUENCE SIZE(1..maxSize) OF Fault
+ Programming ::= SEQUENCE SIZE(1..maxSize) OF [0] IMPLICIT Fault
Fault ::= SET OF Error
diff --git a/tests/32-sequence-of-OK.asn1.-EF b/tests/32-sequence-of-OK.asn1.-EF
new file mode 100644
index 00000000..543c2ab9
--- /dev/null
+++ b/tests/32-sequence-of-OK.asn1.-EF
@@ -0,0 +1,18 @@
+
+ModuleTestSequenceSimple {iso org(3) dod(6) internet(1) private(4)
+ enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
+ 32 }
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+Programming ::= SEQUENCE SIZE(1..10) OF [0] IMPLICIT Fault
+
+Fault ::= SET OF Error
+
+Error ::= SEQUENCE {
+ ...
+}
+
+maxSize INTEGER ::= 10
+
+END