[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / dllimport-memptr.cpp
blob937384e8234f582ae01ece78d7e18077dcbacfcc
1 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -verify -std=c++11 %s
2 // RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -verify -std=c++17 %s
4 // expected-no-diagnostics
6 struct __declspec(dllimport) Foo { int get_a(); };
7 template <int (Foo::*Getter)()> struct HasValue { };
8 HasValue<&Foo::get_a> hv;