[clang] [Frontend][Sema] Add CC1-only -fms-anonymous-structs to enable Microsoft anonymous struct/union feature (PR #176551)
Riyaz Ahmad via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 11:16:01 PST 2026
================
@@ -0,0 +1,81 @@
+// RUN: %clang_cc1 -triple i686-windows %s -fsyntax-only -Wno-unused-value -Wno-pointer-to-int-cast -Wmicrosoft -verify -fms-anonymous-structs
+// RUN: %clang_cc1 -triple powerpc-ibm-aix %s -fsyntax-only -Wno-unused-value -Wno-pointer-to-int-cast -Wmicrosoft -verify -fms-anonymous-structs
----------------
riyaz86a wrote:
Added test for` -fms-compatibility` as well
https://github.com/llvm/llvm-project/pull/176551
More information about the cfe-commits
mailing list