diff options
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1')
-rw-r--r-- | lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1 b/lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1 new file mode 100644 index 0000000000..d0789d7414 --- /dev/null +++ b/lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1 @@ -0,0 +1,27 @@ +ChoiceBadExtension DEFINITIONS ::= +BEGIN + +Seq ::= SEQUENCE { + ..., + name PrintableString, + location INTEGER {home(0),field(1),roving(2)}, + age INTEGER + } + +Cho1 ::= CHOICE { + name PrintableString, + ..., + location INTEGER {home(0),field(1),roving(2)}, + age INTEGER + } + +Cho2 ::= CHOICE { + ..., + name PrintableString, + location INTEGER {home(0),field(1),roving(2)}, + age INTEGER + } + +END + + |