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

type enumerated foobar { foo, bar } //^In type definition// //^error: Duplicate text//
with {
  variant "text 'foo' as 'foobar'";
  variant "text 'bar' as 'foobar'";
  // Unfortunately, location is lost by the time duplicate text is detected
}

}
with {
encode "XML";
}
