Lines Matching refs:thread_local
5 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11 -D__thread=thread_local -std=c++11 -Wno-deprecated
24 // expected-error-re@-2 {{'{{__thread|_Thread_local|thread_local}}' is only allowed on variable declarations}}
36 // expected-error@-6 {{'thread_local' is only allowed on variable declarations}}
56 __thread register int t13a; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_local|thread_local}}' declaration specifier}}
60 __thread typedef int t14; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_local|thread_local}}' declaration specifier}}
67 extern thread_local int t17; // expected-note {{previous declaration is here}}
70 thread_local int t18; // expected-error {{thread-local declaration of 't18' with dynamic initialization follows declaration with static initialization}}
93 // expected-note@-6 {{use 'thread_local' to allow this}}
105 // expected-note@-4 {{use 'thread_local' to allow this}}
118 // expected-note@-4 {{use 'thread_local' to allow this}}