https://llvm.org/bugs/show_bug.cgi?id=31172

            Bug ID: 31172
           Summary: [inline asm] _asm not supported - ms compatibilty
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: ziv.iz...@intel.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

The following code, does not compile in clang, however, it does compile in
visual studio (and in icc aswell):

int main(){
  _asm {mov eax,ebx}
  return 0;
}

with __asm, it does work.

the error:
<source>:2:3: error: use of undeclared identifier '_asm'
_asm {mov eax,ebx}
^
1 error generated.
Compiler exited with result code 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to