1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s 2 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s 3 // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s 4 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s 5 6 struct A { A(const A&, int i1 = 1); }; 7 8 struct B : A { }; 9 10 A f(const B &b) { 11 return b; 12 } 13 14 // CHECK-LP64: callq __ZN1AC1ERKS_i 15 16 // CHECK-LP32: calll L__ZN1AC1ERKS_i 17 18 19