diff options
author | Lev Walkin <vlm@lionet.info> | 2013-03-24 03:28:00 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2013-03-24 03:28:00 -0700 |
commit | e14480fa0b9ff7fb67b90bcbaef7bf156c0ea433 (patch) | |
tree | ce62ffb4b01e8d4e942107cf53e0ec849a34da8b /tests | |
parent | f01946ecea3375ce09d6f2a9da33ce38993710f2 (diff) |
fix https://sourceforge.net/p/asn1c/bugs/51/
Diffstat (limited to 'tests')
-rw-r--r-- | tests/132-per-choice-OK.asn1 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/132-per-choice-OK.asn1 b/tests/132-per-choice-OK.asn1 new file mode 100644 index 00000000..8cbdb48c --- /dev/null +++ b/tests/132-per-choice-OK.asn1 @@ -0,0 +1,21 @@ + +-- OK: Everything is fine + +-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) +-- .spelio.software.asn1c.test (9363.1.5.1) +-- .132 + +ModulePERChoice + { iso org(3) dod(6) internet (1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 132 } + DEFINITIONS AUTOMATIC TAGS ::= +BEGIN + + T ::= CHOICE { + first [1] CHOICE { + nothing INTEGER (5..10) + }, + second [0] INTEGER (-10..10) + } + +END |