| 1 |
/* |
| 2 |
EXTRA_FILES: imports/a314.d imports/b314.d imports/c314.d |
| 3 |
TEST_OUTPUT: |
| 4 |
--- |
| 5 |
fail_compilation/test314.d(19): Error: undefined identifier `renamed` |
| 6 |
fail_compilation/test314.d(20): Error: undefined identifier `bug` |
| 7 |
fail_compilation/test314.d(22): Error: undefined identifier `renamedpkg` |
| 8 |
fail_compilation/test314.d(23): Error: undefined identifier `bugpkg` |
| 9 |
--- |
| 10 |
*/ |
| 11 |
|
| 12 |
module test314; |
| 13 |
|
| 14 |
import imports.a314; |
| 15 |
import imports.b314; |
| 16 |
|
| 17 |
void main() |
| 18 |
{ |
| 19 |
renamed.bug("This should not work.\n"); |
| 20 |
bug("This should not work.\n"); |
| 21 |
|
| 22 |
renamedpkg.bug("This should not work.\n"); |
| 23 |
bugpkg("This should not work.\n"); |
| 24 |
} |