blob: 8437acd64248ff47132872eb8417dc298744c55c [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;