[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / Tooling / ms-asm-no-target.cpp
blobcd3040298c9dd4d31910fc50614e7d85dc217df9
1 // RUN: clang-check "%s" -- -fasm-blocks -target x86_64-apple-darwin10 2>&1 | FileCheck -check-prefix=CHECK-X86 %s -allow-empty
2 // REQUIRES: x86-registered-target
4 void Break() {
5 __asm { int 3 }
8 // clang-check should initialize the x86 target, so x86 should work.
9 // CHECK-X86-NOT: error: MS-style inline assembly is not available