From 18bd1239bee04427340a44f57f993ea92c264e41 Mon Sep 17 00:00:00 2001 From: Kenneth Lundin Date: Fri, 19 Feb 2010 14:01:57 +0000 Subject: OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType is added. --- lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py (limited to 'lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py') diff --git a/lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py b/lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py new file mode 100644 index 0000000000..23e5f38140 --- /dev/null +++ b/lib/asn1/test/asn1_bin_v2_SUITE_data/Null.py @@ -0,0 +1,22 @@ +Null DEFINITIONS ::= +BEGIN + +-- F.2.9 Null +-- Use a null type to indicate the effective absence of a component +-- of a sequence. +-- EXAMPLE + +PatientIdentifier ::= SEQUENCE { + name VisibleString, + roomNumber CHOICE { + room INTEGER, + outPatient NULL -- if an out-patient -- + } +} + +lastPatient PatientIdentifier ::= { + name "Jane Doe", + roomNumber outPatient : NULL +} + +END -- cgit v1.2.3