Debian Codegraph @

clang/test/CodeGen/pr5406.c

raw
1 // REQUIRES: arm-registered-target
2 // RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
3 // PR 5406
4
5 typedef struct { char x[3]; } A0;
6 void foo (int i, ...);
7
8
9 // CHECK: call void (i32, ...) @foo(i32 noundef 1, [1 x i32] {{.*}})
10 int 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 }