[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / member-call-parens.cpp
blob3def43ebc05d232107668429fafc09f51d2cf9eb
1 // RUN: %clang_cc1 -emit-llvm-only -verify %s
2 // expected-no-diagnostics
4 struct A { int a(); };
5 typedef int B;
6 void a() {
7 A x;
8 ((x.a))();
9 ((x.*&A::a))();
10 B y;
11 // FIXME: Sema doesn't like this for some reason...
12 //(y.~B)();