/******************************************************************************
 * Copyright (c) 2000-2021 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 text_clash_use_number_SE {	//^In TTCN-3 module `text_clash_use_number_SE'://

type enumerated clash { foo, bar, baz } //^In type definition// \
//^error: USE-NUMBER and TEXT are incompatible// \
//^error: A type with USE-NUMBER shall not have TEXT//
with {
  variant "text 'foo' as 'F00'";
  variant "useNumber";
}

}
with {
encode "XML";
}
