[Issue 21980] New: importC: _Thread_local allowed as storage class for return type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 26 17:38:27 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21980
Issue ID: 21980
Summary: importC: _Thread_local allowed as storage class for
return type
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
This is illegal as per C99 6.7.1-4:
_Thread_local shall not appear in the declaration specifiers of a function
declaration.
---
_Thread_local int invalid();
--
More information about the Digitalmars-d-bugs
mailing list