blob: 39b4e4e5c2690c5ed8241daaa413122c177303d9 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail278.d(11): Error: template instance `NONEXISTENT!()` template `NONEXISTENT` is not defined
fail_compilation/fail278.d(12): Error: template instance `fail278.F!()` error instantiating
fail_compilation/fail278.d(13): instantiated from here: `Bar!(Foo)`
---
*/
template Id(xs...) { const Id = xs[0]; }
template Foo() { mixin Id!(NONEXISTENT!()); }
template Bar(alias F) { const int Bar = F!(); }
alias Bar!(Foo) x;