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.5, Ensure that the constant is not visible after import with except.
13 ** @verdict pass reject
14 *****************************************************************/
16 module NegSem_08020305_ImportingAllDefinitionsOfAModule_001 {
18 import from NegSem_08020305_ImportingAllDefinitionsOfAModule_001_import all except {
19 // everything is excluded again
31 type component GeneralComp {}
33 testcase TC_NegSem_08020305_ImportingAllDefinitionsOfAModule_001() runs on GeneralComp {
34 if (c_myconst == 43532) { // should not be visible due to the const all exception
42 execute(TC_NegSem_08020305_ImportingAllDefinitionsOfAModule_001());