Teach TreeTransform how to transform a pack expansion type into
[clang.git] / test / CodeGenCXX / default-constructor-default-argument.cpp
blobf2c7f6d12a34ae60e4e6896b51c667ce0772f790
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 // Check that call to constructor for struct A is generated correctly.
4 struct A { A(int x = 2); };
5 struct B : public A {};
6 B x;
8 // CHECK: call void @_ZN1AC2Ei