aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-03-24 14:26:38 +0000
committerLev Walkin <vlm@lionet.info>2005-03-24 14:26:38 +0000
commit1e448d3d3381aacbc2b63d567566e2b727ca3287 (patch)
treef20222d4c7b36c5a7f583f84711745d0c70f9ad5 /tests
parent7039310b8b86a57bb84c6156e130805b96d1feaf (diff)
Support for some CharsDefn
Diffstat (limited to 'tests')
-rw-r--r--tests/80-chardefs-OK.asn125
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/80-chardefs-OK.asn1 b/tests/80-chardefs-OK.asn1
new file mode 100644
index 00000000..52b0eda3
--- /dev/null
+++ b/tests/80-chardefs-OK.asn1
@@ -0,0 +1,25 @@
+
+-- OK: Everything is fine
+
+-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
+-- .spelio.software.asn1c.test (9363.1.5.1)
+-- .80
+
+ModuleCharacterDefinitions
+ { iso org(3) dod(6) internet(1) private(4) enterprise(1)
+ spelio(9363) software(1) asn1c(5) test(1) 80 }
+ DEFINITIONS ::=
+BEGIN
+ -- Elements taken from ASN1-CHARACTER-MODULE (X.680:07/2002)
+ -- { joint-iso-itu-t asn1(1) specification(0) modules(0) iso10646(0) }
+ nul IA5String ::= {0, 0}
+ null BMPString ::= {0, 0, 0, 0}
+ space BMPString ::= {0, 0, 0, 32}
+ tilde BMPString ::= {0, 0, 0, 126}
+
+ BasicLatin ::= BMPString(FROM (space..tilde))
+ BasicGreek ::= BMPString(FROM ({0, 0, 3, 112}..{0, 0, 3, 207}))
+
+ NotSpace ::= BMPString (FROM(ALL EXCEPT space))
+
+END