mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
19 lines
462 B
D
19 lines
462 B
D
// REQUIRED_ARGS: -de
|
|
// EXTRA_FILES: imports/imp15896.d
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail15896.d(11): Error: module `imports.imp15896` member `thebar` is not visible from module `fail15896`
|
|
fail_compilation/fail15896.d(11): Error: module `imports.imp15896` member `packagebar` is not visible from module `fail15896`
|
|
---
|
|
*/
|
|
|
|
import imports.imp15896 : thebar, packagebar;
|
|
|
|
int func()
|
|
{
|
|
thebar +=1;
|
|
packagebar += 1;
|
|
thebar +=1;
|
|
return 0;
|
|
}
|