In issue 7854, Walter says that allowing non-C attributes in extern(C) function parameters is a "feature": https://issues.dlang.org/show_bug.cgi?id=7854#c15 Therefore, I'm opening this enhancement request for making the spec reflect definitively how this feature works. I think a clear explanation will help compiler developers, and will help users understand what actually happens. See also Walter's PR that uses this feature: https://github.com/dlang/druntime/pull/1917
On one hand it's definitely a requirement to attribute C functions, so that root primitives have correct attributes and people can actually write attribute correct code using those.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/3966 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB