blob: 0999aeac6b540db0fd00f1d080e4623b55609859 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/ice11922.d(11): Error: undefined identifier `a`
fail_compilation/ice11922.d(17): Error: template instance ice11922.S.f!int error instantiating
---
*/
struct S
{
auto f(B)(B) { return a; }
}
void main()
{
S s;
s.f(5);
}