mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 13:40:11 +03:00
fix Issue 23715 - ImportC: No rejection of _Thread_local variables declared at function scope without 'static' as per C11 6.2.4-5 (#15094)
This commit is contained in:
parent
b571a1a118
commit
5cd6f80d06
3 changed files with 19 additions and 1 deletions
|
@ -277,7 +277,7 @@ void test2()
|
|||
typedef int TI;
|
||||
//extern int ei;
|
||||
static int si;
|
||||
_Thread_local int tli;
|
||||
static _Thread_local int tli;
|
||||
int __declspec(thread) tlj;
|
||||
auto int ai;
|
||||
register int reg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue