mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
165 B
D
14 lines
165 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail189.d(10): Error: undefined identifier `foo`
|
|
---
|
|
*/
|
|
|
|
void bar()
|
|
{
|
|
foo(); // should fail
|
|
}
|
|
|
|
version(none):
|
|
void foo() {}
|