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
9 * Adrien Kirjak – initial implementation
12 ** @purpose 1:6.2.4, modulepar with the same name as one of enumerated values of the imported parent type
13 ** @verdict pass reject
14 ***************************************************/
16 // The following requirement is tested:
17 // When a TTCN-3 module parameter, formal parameter, constant, variable,
18 // non-parameterized template or parameterized template with all formal
19 // parameters having default values of an imported enumerated type is defined,
20 // the name of that definition shall not be the same as any of the enumerated
21 // values of that type.
23 module NegSem_060204_enumerated_type_and_values_006 {
25 import from NegSem_060204_enumerated_type_and_values_006_import all;
27 type component GeneralComp {
30 modulepar EDays Monday := Tuesday;
32 testcase TC_NegSem_060204_enumerated_type_and_values_006() runs on GeneralComp {
38 execute(TC_NegSem_060204_enumerated_type_and_values_006());