From 3724020559653f11d1327ff41676a06afe3a678f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 17 Jun 2011 06:16:34 +0000 Subject: [PATCH] Clean up test to avoid using standard headers and remove an unneeded #define. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133241 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/arm-asm-variable.c | 8 ++------ 1 file 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 -#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) { -- 2.40.0