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

« back to all changes in this revision

Viewing changes to tests/73-circular-OK.asn1

  • 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
 
 
2
-- OK: Everything is Fine
 
3
 
 
4
-- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
 
5
-- .spelio.software.asn1c.test (9363.1.5.1)
 
6
-- .73
 
7
 
 
8
ModuleTestCircularReferences
 
9
        { iso org(3) dod(6) internet(1) private(4) enterprise(1)
 
10
                spelio(9363) software(1) asn1c(5) test(1) 73 }
 
11
        DEFINITIONS ::=
 
12
BEGIN
 
13
 
 
14
        Type ::= SEQUENCE {
 
15
                data SEQUENCE OF EpytRef
 
16
        }
 
17
 
 
18
        EpytRef ::= Epyt
 
19
 
 
20
        Epyt ::= SEQUENCE {
 
21
                stype   SET OF Type,
 
22
                type    Type OPTIONAL,
 
23
                ypet    Ypet OPTIONAL
 
24
        }
 
25
 
 
26
        Ypet ::= SET {
 
27
                epyt    Epyt,
 
28
                plain   INTEGER DEFAULT 7,
 
29
                senums  SET OF EnumType,
 
30
                patest1 [1] IA5String (FROM("A".."Z")),
 
31
                patest2 [2] IA5String (FROM("a".."z"))
 
32
        }
 
33
 
 
34
        EnumType ::= ENUMERATED { one, two }
 
35
 
 
36
END