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
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
vlt_to_reference.cpp
blob
49d7f1aa975f482717dc7a466632ace085a09ffe
1
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3
// CHECK-LABEL: @main
4
5
struct
dyn_array
{
6
int
size
;
7
int
data
[];
8
};
9
10
int
foo
(
dyn_array
**&
d
) {
11
return
(*
d
)->
data
[
1
];
12
}
13
14
int
main
()
15
{
16
dyn_array
**
d
;
17
return
foo
(
d
);
18
19
// CHECK: call {{.+}} @{{.+}}foo{{.+}}(
20
// CHECK: ret i{{[0-9]+}}
21
}
22