YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/arm-inline-asm.c

7 lines
202 B
C
Raw Normal View History

// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
void t1 (void *f, int g) {
// CHECK: call void asm "str $1, $0", "=*Q,r"
asm("str %1, %0" : "=Q"(f) : "r"(g));
}