[clang] [Clang] Avoid assertion failure for initialized extern aliases (PR #223124)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 3 02:15:03 PDT 2026
================
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -verify %s
----------------
keepyixiao wrote:
Thanks for the suggestion! I was able to run alias-redefinition.c in both C and C++ modes without requiring significant diagnostic changes, so I've moved the C++-specific static data member tests there under #ifdef __cplusplus and removed the separate test file.
https://github.com/llvm/llvm-project/pull/223124
More information about the cfe-commits
mailing list