/*****************************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:8.2.3.3, Ensure that a const defined in a group can be accessed if the group is imported.
 ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/


module Sem_08020303_ImportingGroups_001 {

import from Sem_08020303_ImportingGroups_001_import {
	group CONST_GROUP;
};

type component GeneralComp {}

testcase TC_Sem_08020303_ImportingGroups_001() runs on GeneralComp {
	if (c_myconst == 43532) {
		setverdict(pass);
	} else {
		setverdict(fail);
	}
}

control{
    execute(TC_Sem_08020303_ImportingGroups_001());
}
}

module Sem_08020303_ImportingGroups_001_import {
	group CONST_GROUP {
		const integer c_myconst := 43532;
	}
}
