[clang] [Clang] Fix assertion on delegating initializer when the class is an aggregate (PR #220830)
Akash Manna via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 8 04:56:54 PDT 2026
================
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++20 %s
+
+// The constructors are invalid, so the classes are still aggregates.
----------------
akash-manna-sky wrote:
Added all three types: `static`, an explicit object parameter, and a class whose constructors are all invalid for different reasons.
https://github.com/llvm/llvm-project/pull/220830
More information about the cfe-commits
mailing list