================
@@ -43,6 +43,10 @@ void test3(void) {
   int x;
   asm(L"foo" : "=r"(x)); // expected-error {{wide string}}
   asm("foo" : L"=r"(x)); // expected-error {{wide string}}
+
+  // GH177056
+  asm("" ::: (u8"")); // expected-error {{expected string literal in 'asm'}} 
expected-error {{expected ')'}}
----------------
Sirraide wrote:

Please also add tests for the other variants

https://github.com/llvm/llvm-project/pull/177096
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to