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.8, Verify that modules with explicit language tag can import from older TTCN-3 versions
13 ** @verdict pass accept, ttcn3verdict:pass
14 *****************************************************************/
16 // The following requirements are tested:
18 // The TTCN-3 language specification in an import statement shall be lower or equal
19 // to the TTCN-3 language specification of the importing module, i.e. a TTCN-3 module
20 // can only import from earlier or same editions of TTCN-3 but not from later editions.
22 module Sem_08020308_CompatibilityOfLanguageSpecificationsInImports_002 language "TTCN-3:2013" {
24 import from Sem_08020308_CompatibilityOfLanguageSpecificationsInImports_002_import all;
26 type component GeneralComp {}
28 testcase TC_Sem_08020308_CompatibilityOfLanguageSpecificationsInImports_002() runs on GeneralComp {
29 if (c_test == 0) { setverdict(pass); }
30 else { setverdict(fail); }
34 // testing if parameter names are imported
35 execute(TC_Sem_08020308_CompatibilityOfLanguageSpecificationsInImports_002());