aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-28 00:13:53 +0000
committerEric Christopher <echristo@apple.com>2011-07-28 00:13:53 +0000
commitd3e46ddf119944613580925c30d38a0dfa8f380e (patch)
treebd28a9b97d8fb24a21048e1da062e0cc9d64cdd0
parent0bbe4b1deebf6c2763adbe0c5fa16ca1173e35cf (diff)
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
-rw-r--r--test/CodeGen/pr5406.c7
1 files 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;