15 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \2// RUN: FileCheck %s3// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \4// RUN: FileCheck %s5 6struct A { A(const A&, int i1 = 1); };7 8struct B : A { };9 10A f(const B &b) {11 return b;12}13 14// CHECK: call void @_ZN1AC1ERKS_i15