Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 1 | |
| 2 | -- OK: Everything is fine |
| 3 | |
| 4 | -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) |
| 5 | -- .spelio.software.asn1c.test (9363.1.5.1) |
| 6 | -- .43 |
| 7 | |
| 8 | ModuleRecursion |
| 9 | { iso org(3) dod(6) internet (1) private(4) enterprise(1) |
| 10 | spelio(9363) software(1) asn1c(5) test(1) 43 } |
| 11 | DEFINITIONS ::= |
| 12 | BEGIN |
| 13 | |
| 14 | Test-structure-1 ::= SEQUENCE { |
| 15 | t-member1 SET OF Test-structure-1, |
| 16 | t-member2 SEQUENCE OF Test-structure-1, |
Lev Walkin | 67ec209 | 2004-09-08 00:26:56 +0000 | [diff] [blame] | 17 | t-member3 Test-structure-1 OPTIONAL, |
| 18 | t-member4 INTEGER |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 19 | } |
| 20 | |
Lev Walkin | 67ec209 | 2004-09-08 00:26:56 +0000 | [diff] [blame] | 21 | Choice-1 ::= CHOICE { |
| 22 | and [1] Choice-1, |
| 23 | or [2] IMPLICIT SET OF Choice-1, |
| 24 | not [3] Choice-1, |
| 25 | other [4] INTEGER |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 26 | } |
| 27 | |
Lev Walkin | 1ca6967 | 2004-09-29 13:19:12 +0000 | [diff] [blame] | 28 | Test-structure-2 ::= SET { m1 Test-structure-3 OPTIONAL } |
| 29 | Test-structure-3 ::= SET { m1 Test-structure-2 OPTIONAL } |
| 30 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 31 | END |