Commit | Line | Data |
---|---|---|
114d1c9a | 1 | /****************************************************************************** |
d44e3c4f | 2 | * Copyright (c) 2000-2016 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 | |
d44e3c4f | 7 | * |
8 | * Contributors: | |
9 | * Balasko, Jeno | |
10 | * Raduly, Csaba | |
11 | * | |
114d1c9a EL |
12 | ******************************************************************************/ |
13 | module usetype_with_untagged_SE { //^In TTCN-3 module `usetype_with_untagged_SE':// | |
14 | ||
15 | type union ut //^In type definition// \ | |
16 | //^error: Enclosing type of an UNTAGGED character-encodable type is not record.// | |
17 | { | |
18 | charstring c //^error: Alternative of a union with USE-TYPE should not have UNTAGGED// | |
19 | } | |
20 | with { | |
21 | variant "useType"; | |
22 | variant (c) "untagged" | |
23 | } | |
24 | ||
25 | } | |
26 | with { | |
27 | encode "XML"; | |
28 | variant "controlNamespace 'a' prefix 'a'"; | |
29 | } |