brintos

brintos / llvm-project-archived public Read only

0
0
Text · 357 B · 81f02e9 Raw
19 lines · c
1// REQUIRES: arm-registered-target2// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s3// PR 54064 5typedef struct { char x[3]; } A0;6void foo (int i, ...);7 8 9// CHECK: call void (i32, ...) @foo(i32 noundef 1, [1 x i32] {{.*}})10int main (void)11{12  A0 a3;13  a3.x[0] = 0;14  a3.x[0] = 0;15  a3.x[2] = 26;16  foo (1,  a3 );17  return 0;18}19