January 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14010

          Issue ID: 14010
           Summary: Support mangleof property for opaque enum type
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody@puremagic.com
          Reporter: k.hara.pg@gmail.com

Following code:

enum E;
pragma(msg, E.mangleof);

Currently produces:
test.d(1): Error: enum test.E is forward referenced when looking for 'mangleof'
E4test1E

But the "forward referenced" error is excess so the mangling named enum does not need member declarations.

--