/***************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:5.2, Ensure that the IUT correctly handles the scope of definitions made in the module part.
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Sem_0502_Scope_004 {

    const integer c_int := 0;

type component GeneralComp {
}

testcase TC_Sem_0502_Scope_004() runs on GeneralComp {
    if (c_int == 0){
		setverdict(pass);
    }
    else {
        setverdict(fail);
    }
}

control{
    execute(TC_Sem_0502_Scope_004());
}
}


module Sem_0502_Scope_004_import {

import from Sem_0502_Scope_004 {
 const all
}

type component GeneralComp {
}

testcase TC_Sem_0502_Scope_004_import() runs on GeneralComp {
    if (c_int == 0){
		setverdict(pass);
    }
    else {
        setverdict(fail);
    }
}

control{
    execute(TC_Sem_0502_Scope_004_import());
}
}


