[LLVMbugs] [Bug 20204] New: clang-cl doesn't accept nested __asm statements

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 4 07:42:29 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20204

            Bug ID: 20204
           Summary: clang-cl doesn't accept nested __asm statements
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat test.cpp
void f() {
  __asm {
    __asm {
      mov eax, 1
    }
  }
}

$ clang-cl -c test.cpp
test.cpp(3,5) :  error: unexpected token at start of statement
    __asm {
    ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140704/eaa87858/attachment.html>


More information about the llvm-bugs mailing list