/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Balasko, Jeno * Raduly, Csaba * ******************************************************************************/ module decimal_SE { //^In TTCN-3 module `decimal_SE':// // DECIMAL not on a float type record R { //^In type definition// //^error: DECIMAL shall only be assigned to a real type// integer i, //^In record field// //^error: DECIMAL shall only be assigned to a real type// charstring s, //^In record field// //^error: DECIMAL shall only be assigned to a real type// boolean b //^In record field// //^error: DECIMAL shall only be assigned to a real type// } with { variant "XSD:decimal" variant (i,s,b) "XSD:decimal" } type union real { //^In type definition// //^error: DECIMAL shall only be assigned to a real type// float f } with { variant "XSD:decimal" } } with { encode "XML"; }