/******************************************************************************
 * 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 usetype_not_union_SE {	//^In TTCN-3 module `usetype_not_union_SE'://

type record ut { //^In type definition// \
                 //^error: USE-TYPE can only applied to a CHOICE/union type//
}
with {
  variant "useType"

}

type enumerated truth { //^In type definition// \
                        //^error: USE-TYPE can only applied to a CHOICE/union type//
  TRUE, FALSE, FILE_NOT_FOUND
}
with {
  variant "useType"

}

type record of integer ints //^In type definition// \
                            //^error: USE-TYPE can only applied to a CHOICE/union type//
with {
  variant "useType"

}

}
with {
  encode "XML";
  variant "controlNamespace 'a' prefix 'a'";
}
