repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
FrontendC
/
pr5406.c
blob
0b1f277592fb71e91b704dbf392c663c44a66a7e
1
// RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s
2
// PR 5406
3
4
// XFAIL: *
5
// XTARGET: arm
6
7
typedef
struct
{
char
x
[
3
]; }
A0
;
8
void
foo
(
int
i
, ...);
9
10
11
// CHECK: call void (i32, ...)* @foo(i32 1, i32 {{.*}}) nounwind
12
int
main
(
void
)
13
{
14
A0 a3
;
15
a3
.
x
[
0
] =
0
;
16
a3
.
x
[
0
] =
0
;
17
a3
.
x
[
2
] =
26
;
18
foo
(
1
,
a3
);
19
return
0
;
20
}