blob: d885b3ef3ee7d21b70ddee2ca0be28a4c228d16e [file] [log] [blame]
// REQUIRED_ARGS: -unittest
/*
TEST_OUTPUT:
---
fail_compilation/fail308.d(18): Error: template instance `object.RTInfo!(TestType)` recursive expansion
---
*/
void main()
{
MinHeap!(int) foo = new MinHeap!(int)();
}
class MinHeap(NodeType)
{
unittest
{
struct TestType {}
MinHeap!(TestType) foo = new MinHeap!(TestType)();
}
}