1 // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
17 C(C& other, A a = A());
26 struct D : A, B, virtual C {
29 int scalar_array[2][3];
31 C class_member_array[2][3];
44 // CHECK-LABEL: define linkonce_odr void @_ZN1DC1ERS_(ptr {{[^,]*}} %this, ptr noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) %0) unnamed_addr
45 // CHECK: call void @_ZN1AC1Ev
46 // CHECK: call void @_ZN1CC2ERS_1A
47 // CHECK: call void @_ZN1AD1Ev
48 // CHECK: call void @_ZN1AC2ERS_
49 // CHECK: call void @_ZN1BC2ERS_
50 // CHECK: {{call void @llvm.memcpy.p0.p0.i64.*i64 24}}
51 // CHECK: call void @_ZN1BC1ERS_
53 // CHECK: call void @_ZN1AC1Ev
54 // CHECK: call void @_ZN1CC1ERS_1A
55 // CHECK: call void @_ZN1AD1Ev
56 // CHECK: {{icmp eq.*, 3}}
58 // CHECK: {{icmp eq.*, 2}}
60 // CHECK: {{call.*@objc_memmove_collectable}}
61 // CHECK: {{call void @llvm.memcpy.p0.p0.i64.*i64 12}}
65 template<class T> struct X0 { void f0(T * ) { } };
66 template <class > struct X1 { X1( X1& , int = 0 ) { } };
67 struct X2 { X1<int> result; };
71 typedef X0<impl> pimpl;
74 pdata.f0( new impl(*i));