aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2007-06-26 10:14:11 +0000
committerLev Walkin <vlm@lionet.info>2007-06-26 10:14:11 +0000
commitac6db37b7c0e64db3017c1115ba7440e792cbce2 (patch)
tree6a90c4a8de29ef0263242c89084776a9b71cb40a /tests
parentcc1f8f469191d61eddb94fd962ea1cdcfb256669 (diff)
new twists
Diffstat (limited to 'tests')
-rw-r--r--tests/126-per-extensions-OK.asn112
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/126-per-extensions-OK.asn1 b/tests/126-per-extensions-OK.asn1
index c4729d32..26503cd0 100644
--- a/tests/126-per-extensions-OK.asn1
+++ b/tests/126-per-extensions-OK.asn1
@@ -14,7 +14,17 @@ BEGIN
PDU ::= SEQUENCE {
...,
str-o IA5String OPTIONAL,
- str-m IA5String
+ str-m IA5String,
+ singl Singleton,
+ pdu-2 PDU-2
+ }
+
+ Singleton ::= SEQUENCE {
+ mandatory IA5String DEFAULT "z"
+ }
+
+ PDU-2 ::= CHOICE {
+ str-p2 IA5String
}
END