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: [ DW_TAG_ptr_to_member_type ] {{.*}} size 128
11