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

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


================
@@ -13,4 +13,7 @@ void f() {
   void();
 }
 
+// CHECK: define{{.*}} void @_ZN8GH1164401fEv()
----------------
erichkeane wrote:

There is no target-triple on this test, so this will fail in windows mode.  You can try running it with `-triple x86_64-windows-pc` to see what I mean.

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


More information about the cfe-commits mailing list