Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -triple x86_64-apple-darwin -g -emit-llvm -o - | FileCheck %s
      2 
      3 struct T {
      4   int method();
      5 };
      6 
      7 void foo(int (T::*method)()) {}
      8 
      9 // A pointer to a member function is a pair of function- and this-pointer.
     10 // CHECK: !MDDerivedType(tag: DW_TAG_ptr_to_member_type,
     11 // CHECK-SAME:           size: 128
     12