================
@@ -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:

Also, this test doesn't actually test for the error that should now be emitted, 
make sure to test for that error message specifically; if that error message 
doesn't appear, then you need a different test.

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