struct __declspec(align(16)) __declspec(no_init_all) S { }; typedef struct __declspec(align(16)) __declspec(no_init_all) _S2 { } S2; ---- Error: missing tag `identifier` after `struct` Compiles after commenting out either of the declspecs.
@WalterBright created dlang/dmd pull request #15149 "fix Issue 23866 - ImportC: Multiple __declspecs rejected" fixing this issue: - fix Issue 23866 - ImportC: Multiple __declspecs rejected https://github.com/dlang/dmd/pull/15149
dlang/dmd pull request #15149 "fix Issue 23866 - ImportC: Multiple __declspecs rejected" was merged into master: - 903b988aafc7be313031b7e72dd431a23aa01b1f by Walter Bright: fix Issue 23866 - ImportC: Multiple __declspecs rejected https://github.com/dlang/dmd/pull/15149