blob: 23d44dedaf223f601163aad32dadb60d2a97bb77 [file] [log] [blame]
Lev Walkin9c70e742013-10-17 13:03:36 -07001ModuleTestIntegerAndEnumeratedConstraints { iso org(3) dod(6) internet(1)
2 private(4) enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
Lev Walkin5b7eeaf2005-03-28 17:52:43 +00003 74 }
Lev Walkin412dec92005-03-10 11:30:23 +00004DEFINITIONS ::=
5BEGIN
6
7Enum ::= ENUMERATED {
8 one(0)
9-- Practical constraints (one):
Lev Walkin3ad1e322017-07-25 06:23:18 -070010-- OER-visible constraints (one):
Lev Walkin412dec92005-03-10 11:30:23 +000011-- PER-visible constraints (one):
12,
13 two(1)
14-- Practical constraints (two):
Lev Walkin3ad1e322017-07-25 06:23:18 -070015-- OER-visible constraints (two):
Lev Walkin412dec92005-03-10 11:30:23 +000016-- PER-visible constraints (two):
17
18} (1 | 0)
19-- Combined constraints: (1 | 0)
20-- Practical constraints (Enum): (0..1)
Lev Walkin3ad1e322017-07-25 06:23:18 -070021-- OER-visible constraints (Enum): (0..1)
Lev Walkin412dec92005-03-10 11:30:23 +000022-- PER-visible constraints (Enum): (0..1)
23
24Int ::= INTEGER {
25 v1-0(123)
26-- Practical constraints (v1-0):
Lev Walkin3ad1e322017-07-25 06:23:18 -070027-- OER-visible constraints (v1-0):
Lev Walkin412dec92005-03-10 11:30:23 +000028-- PER-visible constraints (v1-0):
29
30} (123)
31-- Combined constraints: (123)
32-- Practical constraints (Int): (123)
Lev Walkin3ad1e322017-07-25 06:23:18 -070033-- OER-visible constraints (Int): (123)
Lev Walkin412dec92005-03-10 11:30:23 +000034-- PER-visible constraints (Int): (123)
35
36EnumRef ::= Enum (1)
Lev Walkind523ea42017-09-06 22:15:08 -070037-- Combined constraints: (1 | 0) (1)
Lev Walkin412dec92005-03-10 11:30:23 +000038-- Practical constraints (Enum): (1)
Lev Walkin3ad1e322017-07-25 06:23:18 -070039-- OER-visible constraints (Enum): (1)
Lev Walkin412dec92005-03-10 11:30:23 +000040-- PER-visible constraints (Enum): (1)
41
42END