• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -triple=x86_64-pc-linux -fvisibility hidden -emit-llvm -O1 -disable-llvm-optzns -o - | FileCheck %s
2 
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();
11 };
12 struct TestSyncMessageFilter : public SyncMessageFilter {
13 };
bar()14 void bar() {
15   TestSyncMessageFilter f;
16   f.Send();
17 }
18 
19 // Test that it is not hidden
20 // CHECK: define available_externally zeroext i1 @_ZThn8_N17SyncMessageFilter4SendEv
21