mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
21 lines
283 B
D
21 lines
283 B
D
// REQUIRED_ARGS: -de
|
|
// https://issues.dlang.org/show_bug.cgi?id=143
|
|
// EXTRA_FILES: imports/test143.d
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test143.d(20): Error: undefined identifier `x`
|
|
---
|
|
*/
|
|
module test143;
|
|
|
|
import imports.test143;
|
|
|
|
void bar(int)
|
|
{
|
|
}
|
|
|
|
void foo()
|
|
{
|
|
bar(x);
|
|
}
|