================ @@ -23,3 +22,66 @@ void test(A &a, B &b) { const A &&ar10 = static_cast<const A&&>(xvalue<A>()); const A &&ar11 = static_cast<const A&&>(xvalue<B>()); } + +struct C : private A { // expected-note 4 {{declared private here}} ---------------- offsetof wrote:
Added a namespace. https://github.com/llvm/llvm-project/pull/132285 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits