Denis Filatov | b298f2d | 2017-08-11 18:59:26 +0200 | [diff] [blame] | 1 | -- OK: Everything is fine |
| 2 | |
| 3 | -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) |
| 4 | -- .spelio.software.asn1c.test (9363.1.5.1) |
| 5 | -- .142 |
| 6 | |
| 7 | ModuleTestAnonTypeDecoration |
| 8 | { iso org(3) dod(6) internet(1) private(4) enterprise(1) |
| 9 | spelio(9363) software(1) asn1c(5) test(1) 142 } |
| 10 | DEFINITIONS AUTOMATIC TAGS ::= BEGIN |
| 11 | |
| 12 | CommonType ::= CHOICE { |
| 13 | t1 Type1, |
| 14 | t2 Type2 |
| 15 | } |
| 16 | |
| 17 | Type1 ::= CHOICE { |
| 18 | anonType SEQUENCE { |
| 19 | x OCTET STRING (SIZE (32)), |
| 20 | y OCTET STRING (SIZE (32)) |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | Type2 ::= CHOICE { |
| 25 | anonType SEQUENCE { |
| 26 | x OCTET STRING (SIZE (48)), |
| 27 | y OCTET STRING (SIZE (48)) |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | END |