llvm-project/clang/test/CodeGenCXX/pr24097.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
513 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden -emit-llvm -O1 -disable-llvm-passes -o - | FileCheck %s
struct Filter {
virtual void Foo();
};
struct Sender {
virtual bool Send();
};
struct SyncMessageFilter : public Filter, public Sender {
bool Send();
};
struct TestSyncMessageFilter : public SyncMessageFilter {
};
void bar() {
TestSyncMessageFilter f;
f.Send();
}
// Test that it is not hidden
// CHECK: define available_externally zeroext i1 @_ZThn8_N17SyncMessageFilter4SendEv