blob: ee9eb42c3a1a6eddda64d2bc4de7d2e356f0351b [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail154.d(18): Error: template instance `X!(MYP!int)` does not match template declaration `X(T : Policy!T, alias Policy)`
---
*/
class X(T:Policy!(T), alias Policy)
{
mixin Policy!(T);
}
template MYP(T)
{
void foo(T);
}
X!(MYP!(int)) x;