Add extern C thread_local test cases

This commit is contained in:
Seth R Johnson 2022-02-09 21:02:41 -05:00 committed by Olly Betts
commit 4bdf454e97

View file

@ -16,6 +16,7 @@ thread_local static int tsval;
extern thread_local int etval;
thread_local extern int teval;
extern "C" thread_local int ectval;
extern "C" { thread_local int ectval2; }
extern "C++" thread_local int ecpptval;
thread_local int ThreadLocals::stval = 11;
@ -31,5 +32,6 @@ thread_local const int ThreadLocals::tscval99;
thread_local int etval = 33;
thread_local int teval = 44;
thread_local int ectval = 55;
thread_local int ectval2 = 56;
thread_local int ecpptval = 66;
%}