aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/arm-asm-variable.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/arm-asm-variable.c b/test/CodeGen/arm-asm-variable.c
index 2cd60972f6..93df702aac 100644
--- a/test/CodeGen/arm-asm-variable.c
+++ b/test/CodeGen/arm-asm-variable.c
@@ -1,11 +1,7 @@
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
-#include <stdint.h>
-#define ldrex_func(p, rl, rh) \
- __asm__ __volatile__( \
- "ldrexd%[_rl], %[_rh], [%[_p]]" \
- : [_rl] "=&r" (rl), [_rh] "=&r" (rh) \
- : [_p] "p" (p) : "memory")
+typedef long long int64_t;
+typedef unsigned int uint32_t;
int64_t foo(int64_t v, volatile int64_t *p)
{