Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / compileonly / openType / X.asn
CommitLineData
970ed795 1--/////////////////////////////////////////////////////////////////////////////
3abe9331 2-- Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
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--/////////////////////////////////////////////////////////////////////////////
8X DEFINITIONS ::=
9BEGIN
10
11IMPORTS ; -- nothing
12
13OC ::= CLASS {
14 &id INTEGER UNIQUE,
15 &Type
16} WITH SYNTAX {
17 ID &id
18 TYPE &Type
19}
20
21
22PDU{OC : ObjectSet} ::= SEQUENCE {
23 id OC.&id ({ObjectSet}),
24 data OC.&Type ({ObjectSet}{@id})
25}
26
27o0 OC ::= {
28 ID 0
29 TYPE OCTET STRING
30}
31
32opard{INTEGER : id, Type} OC ::= {
33 ID id
34 TYPE Type
35}
36
37o3 OC ::= opard{3, REAL}
38
39Os OC ::= {o0 | {ID 1 TYPE NULL} | opard{2, INTEGER} | o3}
40
41MyPDU ::= PDU{{Os | opard{4, OC.&id} | opard{5, BIT STRING} |
42 opard{6, SEQUENCE{}}}}
43
44END
This page took 0.024009 seconds and 5 git commands to generate.