aboutsummaryrefslogtreecommitdiffstats
path: root/tests/43-recursion-OK.asn1
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-08 00:26:56 +0000
committerLev Walkin <vlm@lionet.info>2004-09-08 00:26:56 +0000
commit67ec2091cd6cc6127acf7435ee55fbc0de47f675 (patch)
tree9c52942dc61f0e896c32157f7e80ae90f555d124 /tests/43-recursion-OK.asn1
parent0ede18cbaac796adf4a0dc0696b36e956ac8ff2e (diff)
tests for recursive definitions
Diffstat (limited to 'tests/43-recursion-OK.asn1')
-rw-r--r--tests/43-recursion-OK.asn112
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/43-recursion-OK.asn1 b/tests/43-recursion-OK.asn1
index 185b8ccb..f2ee3eb4 100644
--- a/tests/43-recursion-OK.asn1
+++ b/tests/43-recursion-OK.asn1
@@ -14,13 +14,15 @@ BEGIN
Test-structure-1 ::= SEQUENCE {
t-member1 SET OF Test-structure-1,
t-member2 SEQUENCE OF Test-structure-1,
- t-member3 Test-structure-1 OPTIONAL
+ t-member3 Test-structure-1 OPTIONAL,
+ t-member4 INTEGER
}
- Sets ::= SEQUENCE {
- s-member1 SET OF INTEGER,
- s-member2 SET OF ENUMERATED { a, b },
- s-member3 SET OF IA5String
+ Choice-1 ::= CHOICE {
+ and [1] Choice-1,
+ or [2] IMPLICIT SET OF Choice-1,
+ not [3] Choice-1,
+ other [4] INTEGER
}
END