diff options
author | Lev Walkin <vlm@lionet.info> | 2014-02-09 04:34:54 -0800 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2014-02-09 04:34:54 -0800 |
commit | 6c52784de169a792156a4d1da1312097ff93d551 (patch) | |
tree | 2abae447808b38c9130b22cdc2b9efdc0ba14882 /tests/134-per-long-OK.asn1 | |
parent | bfc76e8f1e3c96cb7ada29b13825019201945bfd (diff) |
PER-encoding of integers wider than 32 bits
Diffstat (limited to 'tests/134-per-long-OK.asn1')
-rw-r--r-- | tests/134-per-long-OK.asn1 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/134-per-long-OK.asn1 b/tests/134-per-long-OK.asn1 new file mode 100644 index 00000000..02e6e66f --- /dev/null +++ b/tests/134-per-long-OK.asn1 @@ -0,0 +1,21 @@ + +-- OK: Everything is fine +-- Also see .127 for narrower integer types. + +-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) +-- .spelio.software.asn1c.test (9363.1.5.1) +-- .134 + +ModulePERLong + { iso org(3) dod(6) internet (1) private(4) enterprise(1) + spelio(9363) software(1) asn1c(5) test(1) 134 } + DEFINITIONS AUTOMATIC TAGS ::= +BEGIN + + -- Supported only on 64-bit platforms. + T ::= SEQUENCE { + unsigned33 INTEGER (0..5000000000), -- range 33 bits + unsigned42 INTEGER (0..3153600000000) -- range 42 bits + } + +END |