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

          Issue ID: 23879
           Summary: ImportC: Windows system headers use `__alignof`
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Keywords: ImportC
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: maxsamu...@gmail.com

struct S {
    int x;
};

int x = __alignof(struct S);

windows.c(7): Error: expression expected, not `struct

--

Reply via email to