1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc // Check that call to constructor for struct A is generated correctly. 4f4a2713aSLionel Sambuc struct A { A(int x = 2); }; 5f4a2713aSLionel Sambuc struct B : public A {}; 6f4a2713aSLionel Sambuc B x; 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc // CHECK: call {{.*}} @_ZN1AC2Ei 9