www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18008] New: Need C/C++ interop tests for empty anonymous

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

          Issue ID: 18008
           Summary: Need C/C++ interop tests for empty anonymous
                    structs/unions
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: slavo5150 yahoo.com

A fix for https://issues.dlang.org/show_bug.cgi?id=12929 prompted a discussion
about C/C++ compatibility for anonymous structs/unions.  

After time had passed, it was discovered that the error caused by the original
use case no longer occurred.  Therefore, the issue was marked fixed, but the
discussion about how to test for C/C++ compatibility remains unresolved.

See https://github.com/dlang/dmd/pull/4107 for context.

--
Nov 24 2017