mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
17 lines
212 B
D
17 lines
212 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice11726.d(16): Error: undefined identifier `x`
|
|
---
|
|
*/
|
|
|
|
struct S
|
|
{
|
|
auto opDispatch(string fn, Args...)(Args args)
|
|
{
|
|
}
|
|
}
|
|
|
|
void main() {
|
|
S().reserve(x.foo());
|
|
}
|