[clang] [Clang] Fix crash on `void{}` (PR #147514)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 06:04:01 PDT 2025


================
@@ -5,3 +5,12 @@ void f()
   // CHECK: store i32 0
   int i{};
 }
+
+
+namespace GH116440 {
+void f() {
+  void{};
+  void();
+}
----------------
erichkeane wrote:

Can you add check-lines to this one?

https://github.com/llvm/llvm-project/pull/147514


More information about the cfe-commits mailing list