================
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fms-extensions -fasm-blocks 
-fsyntax-only -verify %s
+
+void foo() {
+  __asm { return 1 / 0 } // expected-error {{division by zero in assembly 
expression}}
+  __asm { return 1 % 0 } // expected-error {{modulo by zero in assembly 
expression}}
----------------
phoebewang wrote:

Use valid assemble or just remove the clang test.

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

Reply via email to