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:8.2.3.1, Verify that import clause cannot override language tag of imported module
13 ** @verdict pass reject
14 *****************************************************************/
16 // The following requirements are tested:
18 // The language specification of the import statement shall not override the language
19 // specification of the importing module.
21 // The language specification of the import statement shall be identical to the language
22 // specification of the source module from which definitions are imported provided
23 // a language specification is defined in the source module.
25 module NegSem_08020301_GeneralFormatOfImport_039 {
26 import from NegSem_08020301_GeneralFormatOfImport_039_import language "TTCN-3:2013" all;
27 type component GeneralComp {}
29 testcase TC_Sem_08020301_GeneralFormatOfImport_039() runs on GeneralComp {
30 if (c_test == 0) { setverdict(pass); }
31 else { setverdict(fail); }
35 // testing if parameter names are imported
36 execute(TC_Sem_08020301_GeneralFormatOfImport_039());