Sync with 5.4.2
[deliverable/titan.core.git] / function_test / Semantic_Analyser / xer / usetype_with_untagged_SE.ttcn
CommitLineData
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 ******************************************************************************/
8module usetype_with_untagged_SE { //^In TTCN-3 module `usetype_with_untagged_SE'://
9
10type union ut //^In type definition// \
11 //^error: Enclosing type of an UNTAGGED character-encodable type is not record.//
12{
13 charstring c //^error: Alternative of a union with USE-TYPE should not have UNTAGGED//
14}
15with {
16 variant "useType";
17 variant (c) "untagged"
18}
19
20}
21with {
22 encode "XML";
23 variant "controlNamespace 'a' prefix 'a'";
24}
This page took 0.025373 seconds and 5 git commands to generate.