[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 09:43:11 PST 2026


================
@@ -25,6 +25,7 @@
 
 // This needs to exit non-0, for configure scripts.
 // RUN: not %clang /GR-
+// RUN: not %clang %s -fms-anonymous-structs -### 2>&1 | FileCheck %s --check-prefix=CL-MS-ERROR
----------------
riyaz86a wrote:

removed this test.

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


More information about the cfe-commits mailing list