repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2002-12-15-StructParameters.c
blob
4f0e41e5847af19c705c60c633f4abaa0804df7a
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
typedef
struct
4
{
5
void
*
stack
;
6
unsigned
size
;
7
unsigned
avail
;
8
}
compile_stack_type
;
9
10
void
foo
(
void
*);
11
void
bar
(
compile_stack_type T
,
unsigned
);
12
13
void
test
(
void
) {
14
compile_stack_type CST
;
15
foo
(&
CST
);
16
17
bar
(
CST
,
12
);
18
}