/****************************************************************************** * Copyright (c) 2000-2015 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 ******************************************************************************/ module usenil_not_record_SE { //^In TTCN-3 module `usenil_not_record_SE':// /* 33.2.1 The USE-NIL encoding instruction shall only be assigned to a sequence type ... */ type union u { //^In type definition// \ //^error: The target of an USE-NIL encoding instruction must be a record \(SEQUENCE\) or set type// integer i, charstring c } with { variant "useNil"; } type record of charstring strings //^In type definition// \ //^error: The target of an USE-NIL encoding instruction must be a record \(SEQUENCE\) or set type// with { variant "useNil"; } } with { encode "XML"; variant "controlNamespace 'urn:a' prefix 'u'" }