diff options
author | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-05-04 11:26:59 +0000 |
---|---|---|
committer | Enea Zaffanella <zaffanella@cs.unipr.it> | 2013-05-04 11:26:59 +0000 |
commit | b2d998f356afa33c75f8c4119d455cf66fbec746 (patch) | |
tree | 52f07e3efeb6cf82b871290cd78e754be9251b53 /clang/test/SemaCXX/cxx11-thread-local-print.cpp | |
parent | c2f5f29b8d94d4ab761260b922793987ff721aa4 (diff) | |
download | bcm5719-llvm-b2d998f356afa33c75f8c4119d455cf66fbec746.tar.gz bcm5719-llvm-b2d998f356afa33c75f8c4119d455cf66fbec746.zip |
Moved pretty printer test for thread local storage in its own file
and specified the triple.
llvm-svn: 181115
Diffstat (limited to 'clang/test/SemaCXX/cxx11-thread-local-print.cpp')
-rw-r--r-- | clang/test/SemaCXX/cxx11-thread-local-print.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/cxx11-thread-local-print.cpp b/clang/test/SemaCXX/cxx11-thread-local-print.cpp new file mode 100644 index 00000000000..9d9a82b7e6a --- /dev/null +++ b/clang/test/SemaCXX/cxx11-thread-local-print.cpp @@ -0,0 +1,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; + |