[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / ASTMerge / init-ctors / Inputs / init-ctors-classes.cpp
blobfd51f860634b5a489c5f82fdf6b9f978fb50da97
1 class A_base
3 public:
4 int x;
5 A_base() : x(0) {
7 A_base(int _x) : x(static_cast<int>(_x)) {
9 };
11 class A : public A_base
13 public:
14 int y;
15 struct { int z; };
16 int array[2];
17 A(int _x) : A_base(_x), y(0), z(1), array{{2},{3}} {