[clang] [clang] do not abort on u8 string in inline asm (PR #177096)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 03:30:01 PST 2026
================
@@ -0,0 +1,7 @@
+// RUN: not %clang_cc1 -fsyntax-only -verify %s
+
+void foo() {
+ asm("" ::: (u8""}));
----------------
Sirraide wrote:
Please also add tests for `L""`, `u""`, `U""`, as well as a raw string literal, but that one should be accepted.
https://github.com/llvm/llvm-project/pull/177096
More information about the cfe-commits
mailing list