Titan Core Initial Contribution
[deliverable/titan.core.git] / regression_test / ASN1 / codeGeneration2 / Test80.asn
1 --/////////////////////////////////////////////////////////////////////////////
2 -- Copyright (c) 2000-2014 Ericsson Telecom AB
3 -- All rights reserved. This program and the accompanying materials
4 -- are made available under the terms of the Eclipse Public License v1.0
5 -- which accompanies this distribution, and is available at
6 -- http://www.eclipse.org/legal/epl-v10.html
7 --/////////////////////////////////////////////////////////////////////////////
8 Test80
9
10 DEFINITIONS
11
12 AUTOMATIC TAGS
13
14 ::=
15
16 BEGIN
17
18 IMPORTS ; -- nothing
19
20 MySequenceType1 ::= SEQUENCE {
21 field1 INTEGER,
22 field2 BOOLEAN OPTIONAL,
23 field3 NULL,
24 field4 OCTET STRING,
25 field5 BIT STRING,
26 field6 ENUMERATED {a,b,c} OPTIONAL,
27 field7 REAL
28 }
29
30
31 mySequenceValue1 MySequenceType1 ::= {
32 field1 555, -- INTEGER,
33 field2 TRUE, -- BOOLEAN,
34 field3 NULL,
35 field4 'FF00'H, -- OCTET STRING,
36 field5 '01010'B, -- BIT STRING,
37 field7 5.2 -- {mantissa 10,base 2, exponent 2} -- --REAL
38 }
39
40 END
This page took 0.033288 seconds and 5 git commands to generate.