www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20599] New: cpp_long as enum type doesn't work

https://issues.dlang.org/show_bug.cgi?id=20599

          Issue ID: 20599
           Summary: cpp_long as enum type doesn't work
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

import core.stdc.config;

enum E : cpp_long;
enum F : cpp_longlong;


 Error: enum test.E unable to resolve forward reference in definition
--
Feb 22