mirror of https://github.com/swig/swig
Fix cpp11_thread_local test
This commit is contained in:
parent
af56a1f5c7
commit
c21b4a5529
|
@ -16,9 +16,9 @@ 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 ectval2 = 56; }
|
||||
extern "C++" thread_local int ecpptval;
|
||||
extern "C++" { thread_local int ecpptval2; }
|
||||
extern "C++" { thread_local int ecpptval2 = 67; }
|
||||
|
||||
thread_local int ThreadLocals::stval = 11;
|
||||
thread_local int ThreadLocals::tsval = 22;
|
||||
|
@ -32,8 +32,10 @@ thread_local const int ThreadLocals::tscval99;
|
|||
// externs
|
||||
thread_local int etval = 33;
|
||||
thread_local int teval = 44;
|
||||
extern "C" {
|
||||
thread_local int ectval = 55;
|
||||
thread_local int ectval2 = 56;
|
||||
}
|
||||
extern "C++" {
|
||||
thread_local int ecpptval = 66;
|
||||
thread_local int ecpptval2 = 67;
|
||||
}
|
||||
%}
|
||||
|
|
Loading…
Reference in New Issue