~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/ChoiceBadExtension.asn1

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ChoiceBadExtension DEFINITIONS ::=
 
2
BEGIN
 
3
 
 
4
Seq ::= SEQUENCE {
 
5
    ...,
 
6
    name PrintableString,
 
7
    location INTEGER {home(0),field(1),roving(2)},
 
8
    age INTEGER 
 
9
    }
 
10
 
 
11
Cho1 ::= CHOICE {
 
12
    name PrintableString,
 
13
    ...,
 
14
    location INTEGER {home(0),field(1),roving(2)},
 
15
    age INTEGER 
 
16
    }
 
17
 
 
18
Cho2 ::= CHOICE {
 
19
    ...,
 
20
    name PrintableString,
 
21
    location INTEGER {home(0),field(1),roving(2)},
 
22
    age INTEGER 
 
23
    }
 
24
 
 
25
END
 
26
 
 
27