mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
16 lines
217 B
D
16 lines
217 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail19181.d(15): Error: undefined identifier `LanguageError`
|
|
---
|
|
*/
|
|
struct S
|
|
{
|
|
void opDispatch(string name, T)(T arg) { }
|
|
}
|
|
|
|
void main()
|
|
{
|
|
S s;
|
|
s.foo(LanguageError);
|
|
}
|