Open llvmbot opened 7 years ago
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: :2:3: error: use of undeclared identifier '_asm' _asm {mov eax,ebx} ^ 1 error generated. Compiler exited with result code 1
Do you have any sense of how much code in the wild relies on this? I'd rather not break code on Mac with that uses _asm as an identifier with -fasm-blocks.
Extended Description
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: