blob: 9d73537216d604c59488a5cf4ce460e39542a923 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail10.d(18): Error: mixin Foo!y cannot resolve forward reference
---
*/
template Foo(alias b)
{
int a()
{
return b;
}
}
void test()
{
mixin Foo!(y) y;
}