aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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