[clang] [clang][Sema] Fix ObjC file-scope literal diagnostic under -fobjc-arc (PR #209688)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 15 11:47:15 PDT 2026


================
@@ -0,0 +1,45 @@
+// RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-macosx11.0.0 -fobjc-runtime=macosx-11.0.0 -fobjc-constant-literals -fconstant-nsnumber-literals -fconstant-nsarray-literals -fconstant-nsdictionary-literals -verify %s
----------------
AaronBallman wrote:

Yup, that's expected -- the goal of the test is to ensure we don't accidentally regress anything in that area in the future.

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


More information about the cfe-commits mailing list