Commit | Line | Data |
---|---|---|
114d1c9a | 1 | /****************************************************************************** |
3abe9331 | 2 | * Copyright (c) 2000-2015 Ericsson Telecom AB |
114d1c9a 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 | ******************************************************************************/ | |
8 | module disorder { //^In TTCN-3 module `disorder':// | |
9 | ||
10 | type record marx { //^In type definition// | |
11 | record of enumerated { //^error: Enumeration values must start at 0 and have no gaps// | |
12 | chico(2), groucho, harpo | |
13 | } order, | |
14 | integer chico, | |
15 | float groucho, | |
16 | boolean harpo | |
17 | } | |
18 | with { | |
19 | variant "useOrder"; | |
20 | } | |
21 | ||
22 | } | |
23 | with { | |
24 | encode "XML" | |
25 | } |