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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/DERSpec.asn

  • 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
DERSpec DEFINITIONS ::=
 
2
 
 
3
BEGIN
 
4
 
 
5
Seq ::= SEQUENCE {
 
6
  int [1] INTEGER,
 
7
  choice C,
 
8
  bool BOOLEAN
 
9
}
 
10
 
 
11
C ::= CHOICE {
 
12
  version INTEGER,
 
13
  message PrintableString
 
14
}
 
15
 
 
16
Set ::= SET {
 
17
  int [1] INTEGER,
 
18
  choice C,
 
19
  bool BOOLEAN
 
20
}
 
21
 
 
22
 
 
23
SetOf ::= SET OF C
 
24
 
 
25
-- This type compiled with ber_bin, optimize, der
 
26
-- will test the fix in OTP-4866
 
27
Set2 ::= SET {
 
28
  int INTEGER,
 
29
  bool BOOLEAN}
 
30
 
 
31
-- OTP-5602
 
32
SO ::= SEQUENCE OF Seq2
 
33
 
 
34
Seq2 ::= SEQUENCE {
 
35
  a INTEGER,
 
36
  b BOOLEAN}
 
37
 
 
38
END
 
 
b'\\ No newline at end of file'