1. Vincenzo Ampolo
  2. gdc

Source

gdc / gdc.test / fail_compilation / fail308.d

// REQUIRED_ARGS: -unittest

void main()
{
    MinHeap!(int) foo = new MinHeap!(int)();
}

class MinHeap(NodeType)
{
    unittest
    {
        struct TestType {}
        MinHeap!(TestType) foo = new MinHeap!(TestType)();
    }
}