[clang] [Clang] Supports dollars in UDLs (PR #208490)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 9 09:16:01 PDT 2026


================
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -std=c++20 -Wno-user-defined-literals
+
+int $;  // no_dollar-error {{expected unqualified-id}}
----------------
AaronBallman wrote:

I think you're missing some other bits from the RUN line... like `-verify`

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


More information about the cfe-commits mailing list