NativeEnumerated.c vars NULL init and check
[com/asn1c.git] / tests / tests-asn1c-compiler / 150-with-components-OK.asn1.-EF
1 ModuleValueWithComponents { iso org(3) dod(6) internet(1) private(4)
2         enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 150 }
3 DEFINITIONS ::=
4 BEGIN
5
6 EntityType ::= BIT STRING {
7     app(0),
8     enrol(1)
9 } (SIZE(8))
10
11 GroupPermissions ::= SEQUENCE {
12     minChainDepth        INTEGER DEFAULT 1,
13     eeType       EntityType DEFAULT {app}
14 }
15
16 EnrolPermissions ::= GroupPermissions (WITH COMPONENTS { minChainDepth (2), eeType ({enrol}) })
17
18 END