aboutsummaryrefslogtreecommitdiffstats
path: root/tests/37-indirect-choice-OK.asn1.-EF
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-05 10:37:55 +0000
committerLev Walkin <vlm@lionet.info>2004-09-05 10:37:55 +0000
commitbc00c1c7ef72e0eda65e103fc2491c68fe876c23 (patch)
tree2a287d53899336a1c49a833bd12e7367b0e8904e /tests/37-indirect-choice-OK.asn1.-EF
parentdaa7d2b08c9a3fef9d911c5c705bd9b9b1bfff74 (diff)
additional tests
Diffstat (limited to 'tests/37-indirect-choice-OK.asn1.-EF')
-rw-r--r--tests/37-indirect-choice-OK.asn1.-EF28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/37-indirect-choice-OK.asn1.-EF b/tests/37-indirect-choice-OK.asn1.-EF
new file mode 100644
index 00000000..e975dde4
--- /dev/null
+++ b/tests/37-indirect-choice-OK.asn1.-EF
@@ -0,0 +1,28 @@
+
+ModuleTestIndirectChoiceFine {iso org(3) dod(6) internet(1) private(4)
+ enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
+ 37 }
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+T ::= CHOICE {
+ t-a INTEGER,
+ t-b OCTET STRING,
+ t-c [1] EXPLICIT Choice1,
+ t-d [3] IMPLICIT Choice2
+}
+
+Choice1 ::= CHOICE {
+ c-a OCTET STRING,
+ c-b INTEGER
+}
+
+Choice2 ::= [2] EXPLICIT CHOICE {
+ c-a OCTET STRING,
+ c-b INTEGER,
+ c-d [3] EXPLICIT Choice1
+}
+
+Choice3 ::= [3] EXPLICIT Choice2
+
+END