NativeEnumerated.c vars NULL init and check
[com/asn1c.git] / tests / tests-asn1c-compiler / 148-der-default-set-sequence-values-OK.asn1
1 -- OK: Everything is fine
2
3 -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
4 -- .spelio.software.asn1c.test (9363.1.5.1)
5 -- .148
6
7 ModuleTestDerSetSequenceValues
8         { iso org(3) dod(6) internet(1) private(4) enterprise(1)
9                 spelio(9363) software(1) asn1c(5) test(1) 148 }
10 DEFINITIONS AUTOMATIC TAGS ::= BEGIN
11
12     DefaultSequence ::= SEQUENCE {
13         aBool BOOLEAN DEFAULT FALSE,
14         anInteger INTEGER OPTIONAL
15     }
16
17     DefaultSet ::= SET {
18         aBool [0] IMPLICIT BOOLEAN DEFAULT FALSE,
19         anInteger [1] IMPLICIT INTEGER OPTIONAL
20     }
21
22 END