mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
14 lines
161 B
D
14 lines
161 B
D
// REQUIRED_ARGS: -o-
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag15001.d(11): Error: undefined identifier `X`
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
if (X x = 1)
|
|
{
|
|
}
|
|
}
|