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

« back to all changes in this revision

Viewing changes to tests/55-components-of-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
-- .55
 
7
 
 
8
ModuleTestComponentsOf
 
9
        { iso org(3) dod(6) internet(1) private(4) enterprise(1)
 
10
                spelio(9363) software(1) asn1c(5) test(1) 55 }
 
11
        DEFINITIONS AUTOMATIC TAGS ::=
 
12
BEGIN
 
13
 
 
14
        OneType ::= SEQUENCE {
 
15
                one-1       INTEGER,
 
16
                one-2   [1] BOOLEAN,
 
17
                one-3   SEQUENCE {
 
18
                        alpha   INTEGER,
 
19
                        beta    INTEGER,
 
20
                        ...
 
21
                },
 
22
                ...,
 
23
                ignored-in-SecondType   INTEGER,
 
24
                ...,
 
25
                one-4   INTEGER
 
26
        }
 
27
 
 
28
        SecondType ::= SEQUENCE {
 
29
                a       IA5String,
 
30
                COMPONENTS OF OneType,
 
31
                b       UniversalString
 
32
        }
 
33
 
 
34
END