1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple x86_64-apple-darwin -g -emit-llvm -o - | FileCheck %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc struct T { 4*0a6a1f1dSLionel Sambuc int method(); 5*0a6a1f1dSLionel Sambuc }; 6*0a6a1f1dSLionel Sambuc foo(int (T::* method)())7*0a6a1f1dSLionel Sambucvoid foo(int (T::*method)()) {} 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel Sambuc // A pointer to a member function is a pair of function- and this-pointer. 10*0a6a1f1dSLionel Sambuc // CHECK: [ DW_TAG_ptr_to_member_type ] {{.*}} size 128 11