~ubuntu-branches/ubuntu/dapper/asn1c/dapper

« back to all changes in this revision

Viewing changes to tests/16-constraint-OK.asn1.-EF

  • Committer: Bazaar Package Importer
  • Author(s): W. Borgert
  • Date: 2005-05-28 12:36:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050528123642-3h6kstws5u0xcovl
Tags: upstream-0.9.14
ImportĀ upstreamĀ versionĀ 0.9.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ModuleTestConstraint1 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
 
2
        spelio(9363) software(1) asn1c(5) test(1) 16 1 }
 
3
DEFINITIONS ::=
 
4
BEGIN
 
5
 
 
6
Type0 ::= IA5String (((SIZE(1..10))(FROM("a".."z" | "#"))))
 
7
 
 
8
Type6 ::= IA5String ((SIZE(1..10))(FROM("a".."z" | "#")))
 
9
 
 
10
END
 
11
 
 
12
ModuleTestConstraint2 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
 
13
        spelio(9363) software(1) asn1c(5) test(1) 16 2 }
 
14
DEFINITIONS ::=
 
15
BEGIN
 
16
 
 
17
Type1 ::= IA5String (SIZE(1..10,...))(FROM("a".."z" | "#",...))
 
18
 
 
19
Type2 ::= IA5String (SIZE(MIN..4) | FROM("abc"))
 
20
 
 
21
Type3 ::= BMPString (SIZE(1))
 
22
 
 
23
Type4 ::= INTEGER (1..MAX)
 
24
 
 
25
Type5 ::= BOOLEAN (TRUE | FALSE)
 
26
 
 
27
ten INTEGER ::= 10
 
28
 
 
29
v1 Type1 ::= "#value with ""double quotes"""
 
30
 
 
31
END