From d3e46ddf119944613580925c30d38a0dfa8f380e Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 28 Jul 2011 00:13:53 +0000 Subject: [PATCH] Add a triple to this test and make sure it passes on arm where it was supposed to. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136305 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/pr5406.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/pr5406.c b/test/CodeGen/pr5406.c index 9cf4203cf5..da74d6b64f 100644 --- a/test/CodeGen/pr5406.c +++ b/test/CodeGen/pr5406.c @@ -1,14 +1,11 @@ -// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s // PR 5406 -// XFAIL: * -// XTARGET: arm - typedef struct { char x[3]; } A0; void foo (int i, ...); -// CHECK: call void (i32, ...)* @foo(i32 1, i32 {{.*}}) nounwind +// CHECK: call arm_aapcscc void (i32, ...)* @foo(i32 1, [1 x i32] {{.*}}) int main (void) { A0 a3;