Eric Christopher | 895d422 | 2011-07-29 21:20:35 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s |
2 | |||||
3 | void t1 (void *f, int g) { | ||||
4 | // CHECK: call void asm "str $1, $0", "=*Q,r" | ||||
5 | asm("str %1, %0" : "=Q"(f) : "r"(g)); | ||||
6 | } |