/*
TEST_OUTPUT:
---
fail_compilation/fail116.d(11): Error: circular typeof definition
fail_compilation/fail116.d(16): Error: template instance square!1.2 does not match template declaration square(_error_ x)
---
*/

// Issue 405 - typeof in TemplateParameterList causes compiletime segmentfault

template square(typeof(x) x)
{
    const square = x * x;
}

const b = square!(1.2);
