================ @@ -0,0 +1,35 @@ +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s + +// List-initializing a temporary array of unknown bound from an empty list +// creates a zero-length array whose element type was never completed, and +// destructor lookup on the uninstantiated (or forward-declared) element type +// crashed. https://github.com/llvm/llvm-project/issues/217883 ---------------- TPPPP72 wrote:
We don't need these comments https://github.com/llvm/llvm-project/pull/221488 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
