mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
161 B
D
12 lines
161 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail7077.d(11): Error: undefined identifier `x`
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
if(0) mixin("auto x = 2;");
|
|
assert(x == 2);
|
|
}
|