mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
24 lines
607 B
D
24 lines
607 B
D
/*
|
|
EXTRA_FILES: imports/a314.d imports/b314.d imports/c314.d
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test314.d(19): Error: undefined identifier `renamed`
|
|
fail_compilation/test314.d(20): Error: undefined identifier `bug`
|
|
fail_compilation/test314.d(22): Error: undefined identifier `renamedpkg`
|
|
fail_compilation/test314.d(23): Error: undefined identifier `bugpkg`
|
|
---
|
|
*/
|
|
|
|
module test314;
|
|
|
|
import imports.a314;
|
|
import imports.b314;
|
|
|
|
void main()
|
|
{
|
|
renamed.bug("This should not work.\n");
|
|
bug("This should not work.\n");
|
|
|
|
renamedpkg.bug("This should not work.\n");
|
|
bugpkg("This should not work.\n");
|
|
}
|