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:
Walter Bright 2023-04-10 16:53:38 -07:00 committed by GitHub
parent b571a1a118
commit 5cd6f80d06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

View file

@ -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;