android13/external/clang/test/SemaCXX/cxx11-thread-unsupported.cpp

6 lines
192 B
C++
Raw Normal View History

2024-06-22 08:45:49 -04:00
// 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}}
}