/******************************************************************************
 * Copyright (c) 2000-2025 Ericsson Telecom AB
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.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";
}
