blob: a4c1a65d7b0bd0865de798694376e131648f3927 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
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-- .23
7
8ModuleTestBitString
9 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
10 spelio(9363) software(1) asn1c(5) test(1) 23 }
11 DEFINITIONS AUTOMATIC TAGS ::=
12BEGIN
13
14 v28 INTEGER ::= 28
15
16 BS1 ::= BIT STRING { first(0), third(2), twenty-eight(v28) }
17
18 one-zero-one BS1 ::= { first, third } -- Equivalent to '101'B
19
20 one0one BS1 ::= '1010000'B -- Equivalent to '101'B
21
Lev Walkinbe518fa2017-09-07 02:05:28 -070022 empty BS1 ::= { } -- Equivalent to ''B
23
Lev Walkinf15320b2004-06-03 03:38:44 +000024END