d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail15896.d
blob3fdbf4e9f98df762346238ed79dddf00d13f90a0
1 // REQUIRED_ARGS: -de
2 // EXTRA_FILES: imports/imp15896.d
3 /*
4 TEST_OUTPUT:
5 ---
6 fail_compilation/fail15896.d(11): Error: module `imports.imp15896` member `thebar` is not visible from module `fail15896`
7 fail_compilation/fail15896.d(11): Error: module `imports.imp15896` member `packagebar` is not visible from module `fail15896`
8 ---
9 */
11 import imports.imp15896 : thebar, packagebar;
13 int func()
15 thebar +=1;
16 packagebar += 1;
17 thebar +=1;
18 return 0;