diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-09-08 00:26:56 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2004-09-08 00:26:56 +0000 |
commit | b71a9d3fec55afbcb13225d12dc575f1587fc99c (patch) | |
tree | 9c52942dc61f0e896c32157f7e80ae90f555d124 /tests/43-recursion-OK.asn1 | |
parent | 7502143c32d92861e0e785ca8047c81d1bc18ef2 (diff) |
tests for recursive definitions
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@289 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'tests/43-recursion-OK.asn1')
-rw-r--r-- | tests/43-recursion-OK.asn1 | 12 |
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 |