(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
fail_compilation/
fail278.d
/*
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;