summaryrefslogtreecommitdiff
path: root/test/SemaCXX/cxx11-thread-unsupported.cpp
blob: d3fcf82ef41597fc15747d570ba6d71f69aebda1 (plain)
1
2
3
4
5
// 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}}
}