[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / pr24097.cpp
blob63c4017dc5f4dc8f169f71fb2b04b43a9ab8103a
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