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:5.2, Ensure that the IUT handles scope hierarchy via functions.
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
15 module Sem_0502_Scope_003 {
17 type component GeneralComp {
18 var integer vc_int := 0;
21 function f_funcScope() runs on GeneralComp {
31 testcase TC_Sem_0502_Scope_003_a() runs on GeneralComp {
35 testcase TC_Sem_0502_Scope_003_b() runs on GeneralComp {
46 execute(TC_Sem_0502_Scope_003_a());
47 execute(TC_Sem_0502_Scope_003_b());