Lev Walkin | 1575040 | 2005-07-03 05:27:19 +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 | -- .84 1 |
| 7 | -- .84 2 |
| 8 | |
Lev Walkin | 171487e | 2006-03-21 07:25:18 +0000 | [diff] [blame] | 9 | ModuleTestParameterizationTags1 |
Lev Walkin | 1575040 | 2005-07-03 05:27:19 +0000 | [diff] [blame] | 10 | { iso org(3) dod(6) internet(1) private(4) enterprise(1) |
| 11 | spelio(9363) software(1) asn1c(5) test(1) 84 1 } |
| 12 | DEFINITIONS ::= |
| 13 | BEGIN |
| 14 | |
| 15 | TestType {Parameter} ::= SEQUENCE { |
| 16 | common Parameter DEFAULT 0 |
| 17 | } |
| 18 | |
| 19 | TestChoice ::= CHOICE { |
| 20 | type1 TestType {INTEGER (1..10)}, |
| 21 | type2 [0] IMPLICIT TestType {BOOLEAN} |
| 22 | } |
| 23 | |
| 24 | END |
| 25 | |
Lev Walkin | 171487e | 2006-03-21 07:25:18 +0000 | [diff] [blame] | 26 | ModuleTestParameterizationTagsAuto2 |
Lev Walkin | 1575040 | 2005-07-03 05:27:19 +0000 | [diff] [blame] | 27 | { iso org(3) dod(6) internet(1) private(4) enterprise(1) |
| 28 | spelio(9363) software(1) asn1c(5) test(1) 84 2 } |
| 29 | DEFINITIONS AUTOMATIC TAGS ::= |
| 30 | BEGIN |
| 31 | |
| 32 | AutoType {Parameter} ::= SEQUENCE { |
| 33 | common Parameter (0) |
| 34 | } |
| 35 | |
| 36 | AutoChoice ::= CHOICE { |
| 37 | type1 AutoType {INTEGER (0..1)}, |
| 38 | type2 AutoType {BOOLEAN} |
| 39 | } |
| 40 | |
| 41 | END |