Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fapple-kext -emit-llvm -o - %s | FileCheck %s
      2 
      3 struct Base {
      4   virtual void abc(void) const;
      5 };
      6 
      7 void Base::abc(void) const {}
      8 
      9 void FUNC(Base* p) {
     10   p->Base::abc();
     11 }
     12 
     13 // CHECK: getelementptr inbounds (void (%struct.Base*)** bitcast ([3 x i8*]* @_ZTV4Base to void (%struct.Base*)**), i64 2)
     14 // CHECK-NOT: call void @_ZNK4Base3abcEv
     15