[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / cxx11-thread-local-print.cpp
blob1adafbda4905c340f77b137165809e1243ed4ed9
1 // RUN: %clang_cc1 -std=c++11 -triple=x86_64-linux-gnu -ast-print %s | FileCheck %s
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;
10 // CHECK: void foo() {
11 // CHECK: thread_local int cxx11_tl;
12 // CHECK: }
13 void foo() {
14 thread_local int cxx11_tl;