Add a triple to this test and make sure it passes on arm where it was

supposed to.

llvm-svn: 136305
This commit is contained in:
Eric Christopher 2011-07-28 00:13:53 +00:00
parent ddc29f002e
commit 18a53fca27
1 changed files with 2 additions and 5 deletions

View File

@ -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;