Add extern C thread_local test cases
This commit is contained in:
parent
befc9bc1f0
commit
4bdf454e97
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue