| 1 | /****************************************************************************** |
| 2 | * Copyright (c) 2000-2016 Ericsson Telecom AB |
| 3 | * All rights reserved. This program and the accompanying materials |
| 4 | * are made available under the terms of the Eclipse Public License v1.0 |
| 5 | * which accompanies this distribution, and is available at |
| 6 | * http://www.eclipse.org/legal/epl-v10.html |
| 7 | * |
| 8 | * Contributors: |
| 9 | * Balasko, Jeno |
| 10 | * Raduly, Csaba |
| 11 | * |
| 12 | ******************************************************************************/ |
| 13 | module untagged_parent_not_record_SE { //^In TTCN-3 module `untagged_parent_not_record_SE':// |
| 14 | |
| 15 | // untagged *and character_encodable* |
| 16 | |
| 17 | type set luft { //^In type definition// \ |
| 18 | //^error: Enclosing type of an UNTAGGED character-encodable type is not record// |
| 19 | charstring trouble |
| 20 | } |
| 21 | with { |
| 22 | variant (trouble) "untagged" |
| 23 | } |
| 24 | |
| 25 | } |
| 26 | with { |
| 27 | encode "XML"; |
| 28 | } |