August 29, 2018
https://issues.dlang.org/show_bug.cgi?id=19202

          Issue ID: 19202
           Summary: deprecated eponymous template prints no warning
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: elpenguino+D@gmail.com

```
void main() {
    auto b = X!();
}

template X() {
    deprecated enum X = true;
}
```
Since dmd 2.069, no warning is printed for this example.

--