]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaCXX/cxx11-thread-local-print.cpp
Vendor import of clang tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / SemaCXX / cxx11-thread-local-print.cpp
1 // RUN: %clang_cc1 -std=c++11 -triple=x86_64-linux-gnu -ast-print %s | FileCheck %s
2
3 // CHECK: __thread int gnu_tl;
4 // CHECK: _Thread_local int c11_tl;
5 // CHECK: thread_local int cxx11_tl;
6 __thread int gnu_tl;
7 _Thread_local int c11_tl;
8 thread_local int cxx11_tl;
9