[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / pr24097.cpp
blob4556b760d779b658c5a47a543a9b4e8ece417f34
1 // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden -emit-llvm -O1 -disable-llvm-passes -o - | FileCheck %s
3 struct Filter {
4 virtual void Foo();
5 };
6 struct Sender {
7 virtual bool Send();
8 };
9 struct SyncMessageFilter : public Filter, public Sender {
10 bool Send();
12 struct TestSyncMessageFilter : public SyncMessageFilter {
14 void bar() {
15 TestSyncMessageFilter f;
16 f.Send();
19 // Test that it is not hidden
20 // CHECK: define available_externally noundef zeroext i1 @_ZThn8_N17SyncMessageFilter4SendEv