llvm-for-llvmta/tools/clang/test/SemaCXX/cxx11-thread-unsupported.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

6 lines
192 B
C++

// RUN: %clang_cc1 -std=c++11 -triple=x86_64-apple-macosx10.6 -verify %s
void f() {
thread_local int x; // expected-error {{thread-local storage is not supported for the current target}}
}