xref: /llvm-project/clang/test/SemaCXX/cxx11-thread-unsupported.cpp (revision d8f4165b0df1630597f7f1c626163fb451c03d9a)
1 // RUN: %clang_cc1 -std=c++11 -triple=x86_64-apple-macosx10.6 -verify %s
2 
f()3 void f() {
4   thread_local int x; // expected-error {{thread-local storage is not supported for the current target}}
5 }
6