Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \
      2 // RUN: FileCheck %s
      3 // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \
      4 // RUN: FileCheck %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: call void @_ZN1AC1ERKS_i
     15