[clang] [Clang][Parse] Fix crash on stmt-expr ending with 'extern void;' (PR #181579)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 21 18:32:34 PST 2026
================
@@ -0,0 +1,33 @@
+// RUN: %clang_cc1 -emit-llvm -verify %s -o /dev/null
+
+// Regression test for https://github.com/llvm/llvm-project/issues/173921
+// Ensure that "extern void;" inside a multi-statement GNU statement expression
+// does not cause a crash in CodeGen due to a leaked RecoveryExpr with
+// dependent type.
----------------
ojhunt wrote:
slop like content again?
https://github.com/llvm/llvm-project/pull/181579
More information about the cfe-commits
mailing list