From b2d998f356afa33c75f8c4119d455cf66fbec746 Mon Sep 17 00:00:00 2001 From: Enea Zaffanella Date: Sat, 4 May 2013 11:26:59 +0000 Subject: Moved pretty printer test for thread local storage in its own file and specified the triple. llvm-svn: 181115 --- clang/test/SemaCXX/cxx11-thread-local-print.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 clang/test/SemaCXX/cxx11-thread-local-print.cpp (limited to 'clang/test/SemaCXX/cxx11-thread-local-print.cpp') 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; + -- cgit v1.2.3