diff --git a/Examples/test-suite/cpp11_thread_local.i b/Examples/test-suite/cpp11_thread_local.i index 21f21859b..7a82f7582 100644 --- a/Examples/test-suite/cpp11_thread_local.i +++ b/Examples/test-suite/cpp11_thread_local.i @@ -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; %}