mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 11:26:06 +00:00

ms-stlye asm block is not supported on targets like arm/hexagon. Specify a working target as POC. Introduced by https://reviews.llvm.org/D154983 Differential Revision: https://reviews.llvm.org/D155576
10 lines
212 B
C
10 lines
212 B
C
// RUN: clang-extdef-mapping "%s" -- -fasm-blocks \
|
|
// RUN: -target x86_64-apple-darwin10 2>&1 | FileCheck %s
|
|
// REQUIRES: x86-registered-target
|
|
|
|
void Break() {
|
|
__asm { int 3 }
|
|
}
|
|
|
|
// CHECK: {{10:c:@F@Break}}
|