summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/cxx11-thread-local-print.cpp
blob: 9d9a82b7e6a49147e8cbc164aff8510803e2d5e5 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -std=c++11 -triple=x86_64-linux-gnu -ast-print %s | FileCheck %s

// CHECK: __thread int gnu_tl;
// CHECK: _Thread_local int c11_tl;
// CHECK: thread_local int cxx11_tl;
__thread int gnu_tl;
_Thread_local int c11_tl;
thread_local int cxx11_tl;

OpenPOWER on IntegriCloud